P1 Incidents Not Auto-Closing After 7 Days of Resolution While P2/P3/P4 Incidents Close as Expected

ry001062402
Tera Contributor

We have identified an issue in our instance where P1 incidents are not automatically closing after 7 days from the Resolved state, whereas incidents with priorities P2, P3, and P4 are closing as expected after the configured 7-day period.

Some observations:

  • The issue is specific to P1 incidents.
  • P2, P3, and P4 incidents are automatically transitioning from Resolved to Closed as expected.
  • This behavior appears to have been occurring for approximately one year, although it came to our attention only

Any guidance on this would be greatly appreciated.

2 REPLIES 2

Dr Atul - LNG
Tera Patron

Hi @ry001062402 

 

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

 

 

Cause

Form London version, OOB functionality for Major Incidents is As per the Business Rule (incident autoclose)  will not move the major incidents to close.

Business Rule: https://*****.service-now.com/sys_script.do?sys_id=d67b8d9ec0a80118008cd8f0f7f92fae

Resolution


The code in the BR is excluding Major Incidents:

if (pm.isActive('com.snc.incident.mim')) 
{
var mim = gr.addNullQuery('major_incident_state');
mim.addOrCondition('major_incident_state', '!=', new sn_major_inc_mgmt.MajorIncidentTriggerRulesSNC().MAJOR_INCIDENT_STATE.ACCEPTED);
}
gr.query();



Per the docs this is the intended behaviour as Major Incidents will not autoclose. It must be manually closed by the user with the Major Incident Management role after resolution has been confirmed:
https://docs.servicenow.com/csh?topicname=close-major-incident.html&version=latest

Tanushree Maiti
Tera Patron

Hi @ry001062402 

 

It is expected that MIM incident will not automatically move from Resolve to Close.

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

 

Probable Solution:

If your business agrees, then you can customize it and move MIM incident from resolve to Close state.

For one my client project, we used BR. You can use Scheduled script execution (schedule job) as well.

 

you can refer community article :Auto Closing of Major Incident