Hello guys!
We have a case where we want to delay the execution of a task within a workflow for one hour. This is because when the customer service case (within out CRM) get's closed, it automatically sends out the information to the Qualtrics' workflow (A Json Event) to send out the survey with an XM Directory Task. But if we send the response to the case (CRM) and the survey (Qualtrics) at the same time, it's possible that the user sees the survey invitation before seing the response to their case. Also, we have had some cases where the survey arrives first than the response to the case.
For that, we want to use a code task to delay the execution of the survey distribution. But we haven't been able to do so.
the most logic way of doing thos would be the setTimeout() function in JS. But that's not working :/ Here's one examples of many codes that we have tried in a generic console and worked but that fails in Qualtrics:
function codeTask(){
return {
validador:"1",
};}
setTimeout(codeTask, 60000)
Do you guys think that this is posbile?
Thanks!
Delay with code task
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.