Retake survey response and keep original metadata | XM Community
Skip to main content

Hi all,
How can I keep the original date and time of a recorded response when i retake the survey and update the response?
Whenever I edit a recorded response the start and end data of the response is updated to the time of the update.
Thanks!
G.

In Survey Flow, add a Branch at the end of the survey with condition "If Embedded Data 'StartDate' Is Empty."
In that branch, add Embedded Data elements:
StartDate = ${date://CurrentDate/DS}
StartTime = ${date://CurrentTime/ST}
(You can format the date and time differently by navigating through the piped text options for 'Date / Time')
How it works:
The branch will only run the first time through the survey, since that's the only time StartDate will be empty. Effectively, this saves the original start date and submit time as embedded data elements, even when a retake link is used. Placing the Branch at the end of the survey ensures it runs after respondents submit following the last survey question, so you get an accurate end time.


Leave a Reply