P1 Incidents Not Auto-Closing After 7 Days of Resolution While P2/P3/P4 Incidents Close as Expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
16m ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14m ago
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