Show or Hide a block Based on CampStartDate and CampaignEndDate in a survey and Expire the link if Date is passed | XM Community
Skip to main content

I am trying to make the survey link expire based on campaign dates and I am trying to send this from Salesforce to Qualtrics. I also tried to set embedded data through JS but it didnt work. Currently I am trying the below and it works perfectly fine in preview when I pass the campStartDate and End date from URL but when the actual survey is getting sent, it doesn’t say expired or if someone has already taken the survey partially for them also it should check in the runtime when they click on the survey.

I tried to test if the current date is coming and campaign end date then it is coming as expected.

 

Please help me how I can get this fixed? I have been spending  late night hours in order to get it work. Also I noticed when the CampaignEndDate is 2024-09-14 but when I am passing 2024-09-13 then it was showing expired but it should also show when it is 14th sept because today is 2024-09-15

Be the first to reply!

Leave a Reply