survey is not cancelled after due date

Hitesh targe
Tera Expert

Hello Experts,

we have created a survey and it will trigger on monthly basis.

once the survey is triggered and user is not completed the survey with in the due date, survey should cancel and new survey should trigger but our survey is not getting canceled after duedate also.

any suggestions please.

Thanks

1 ACCEPTED SOLUTION

Nia McCash
Mega Sage
Mega Sage

As Sumanta points out, there is a scheduled job which runs every 30 days which cancels the expired surveys.   In other words, they don't expire immediately, and only when the scheduled job is run.  



You should be able to find the out-of-box scheduled job at https://[instance].service-now.com/nav_to.do?uri=sys_trigger.do?sys_id=e8785d109f233100736af84bc42e7...   OR by navigating to System Scheduler -> Scheduled Jobs -> Scheduled Jobs and looking for the job named "Cancel Expired Assessments"


View solution in original post

8 REPLIES 8

ramak
Giga Expert

Are you using Legacy surveys or Assessment surveys? Send some screenshots if you can.



Cheers


S


HI Suhas,



we are Assessment surveys(asmt_assessment_instance). Sorry i cannot attach screenshots.



please suggest.



Thanks


I think you have to run below script to remove the expired surveys



Schedule Item


Cancel Expired Assessments


Nia McCash
Mega Sage
Mega Sage

As Sumanta points out, there is a scheduled job which runs every 30 days which cancels the expired surveys.   In other words, they don't expire immediately, and only when the scheduled job is run.  



You should be able to find the out-of-box scheduled job at https://[instance].service-now.com/nav_to.do?uri=sys_trigger.do?sys_id=e8785d109f233100736af84bc42e7...   OR by navigating to System Scheduler -> Scheduled Jobs -> Scheduled Jobs and looking for the job named "Cancel Expired Assessments"