Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Cancel expired assessment

Dimitrios Boura
Tera Contributor

Hi All,

 

I have identified several of our Control Attestations being set to cancelled by a scheduled job.

 

DimitriosBoura_0-1665074729426.png

 

 

Has anyone else had issues with this OOTB behaviour - since it cancels active attestations for us if they are overdue!

 

Thank you in advance.

 

Kind regards,

Dimitrios

1 REPLY 1

Sebastien Fix
Giga Guru

The OOTB behavior works as designed. You can deactivate the job or change the frequency if you do not want expired surveys/assessments to ever be cancelled. 

 

You can also just change the gr.state line to change the State to something else than "Cancelled" when overdue

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0676810