Close RITM after 3 days

Felipe Morais
Tera Contributor

Hello people,

I need to configure RITMs to close after 3 days being in resolved state, but it's not working sadly.

This is my code:
FelipeMorais_0-1700666044123.png

Can someone identify any issues with my script?

Thanks,

FLM

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@Felipe Morais Instead of using a business rule, you should use a scheduled job which should run on a daily basis and close the RITMs after 3 days. For more information on the scheduled jobs please refer to https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/reference-pages... On this link an example has been given by ServiceNow which matches with you use case. You can use the same and create a scripted scheduled job to auto close the RITMS

 

Hope this helps.