The CreatorCon Call for Content is officially open! Get started here.

incident auto close br

Gary Larsen
Mega Sage

I have a requirement for incidents with a particular CI selected to not auto close   

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Gary Larsen 

update the OOTB business rule with the encodedQuery to skip particular CIs

Line 31 I added

AnkurBawiskar_0-1747320389737.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

6 REPLIES 6

Abhijit4
Mega Sage

Hi @Gary Larsen 

 

In that case there is usually OOTB business rule "Incident autoclos" which closes incident after 5 days of resolution, based on system property 'glide.ui.autoclose.time' value. So in this script, you can add filter to not consider those incidents with specific CI's.

 

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

Dinesh Reddy By
Kilo Sage

Hi @Gary Larsen 

You need to modify the "Incident autoclose" business rule for your requirement. Please check the below KB article for additional details
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0552820

 

Thanks,

Dinesh

Ankur Bawiskar
Tera Patron
Tera Patron

@Gary Larsen 

update the OOTB business rule with the encodedQuery to skip particular CIs

Line 31 I added

AnkurBawiskar_0-1747320389737.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

I tried this with no luck