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.

Schedule job should perform autoclose incidents which are in resolved state from last 5 days

The Matrix
Tera Contributor

Trigger a schedule job at mid night 12 . Schedule job should perform autoclose incidents which are in resolved state from last 5 days(update resolution information and resolution code with this incident auto closed by system due to inactive update from last 5 days).

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

Hi @Siddharam Takali 

This happens automatically, default number of days when ServiceNow closes the incident is 7 days.

You just need to update the property to 5 days as per steps mentioned below:

1) Navigate to System properties by typing "sys_properties.LIST" in Application Navigator and hit enter as shown below:

find_real_file.png

Now search for the property Named as "glide.ui.autoclose.time" and just change the value from 7 to 5 as shown below:

find_real_file.png 

Property Link for reference posted below:

https://instance.service-now.com/nav_to.do?uri=sys_properties.do?sys_id=d5c62446c0a8011800cdf450892cec2d

Replace "instance' with your instance name.

 

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

There is already OOB schedule job for this as mentioned.

You can update the same i.e. update the property days to 5

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

can you please let me know OOB schedule job name ?

Lynch4489
Kilo Explorer

Everything is very open with a clear description of the issues. It was truly informative. Your website is very helpful. Many thanks for sharing!  jcpenneykiosk login