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.

Incident set Active to False when Resolved

Katie A
Mega Guru

Incident Resolved still showing as Active

Hello, how can I set Incidents to Active = false automatically when the State changes to Resolved?

I tried adding the closed_state attributes in the Task dictionary override on the State column but is not working.

close_states=6;7,default_close_state=7,default_work_state=2

Incidents are still Active even after they are Resolved.

3 REPLIES 3

Kalaiarasan Pus
Giga Sage

You could always add a before update business rule on the table if the closed_state attribute doesn't work.


Michael Fry1
Kilo Patron

You know that's Best Practice that they should be Active when State is Resolved for period based on your auto-close settings: Best Practice - Incident Resolution Workflow


ChiranjeeviR
Kilo Sage

Hi @Katie A ,

you can follow these steps to mark change inactive when resolved

just change the table to incident

step1: 

ChiranjeeviR_0-1721291896499.png

step2: 

ChiranjeeviR_1-1721291938320.png

 

Thanks and Regards,

Chiranjeevi🇮🇳

Please mark as Correct Answer/Helpful, if applicable.

Thanks & Regards,
Chiranjeevi
ServiceNow Developer | | ITSM | | ServiceNow Discovery | | Event Management | | Service Mapping | | CMDB

Please mark as Correct Answer/Helpful, if applicable.