Reopened Problem with Major incident tagged count
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2025 04:18 PM
Hello All,
I have the below requirement for metric definition. Kindly let me know the approach and the script to be used without creation of a new field/attribute.
Trigger Condition – Problem Reopened
Given a Problem Record is in the state Resolved - Fix Applied or Closed - Fix Applied,
When it transitions back to the Root Cause Analysis state,
Then the system must flag it as reopened
Trigger Condition – Major Incident Linkage
Given a Problem Record has been flagged as reopened,
When a Major Incident is linked to this Problem Record after the state change,
Then the system must count this as one Major Incident repeat. This would be timestamped based on when the MI was linked to the Problem to support the reporting requirement.
Repeat Count Logic
When additional Major Incidents are linked to the same reopened Problem Record,
Then each linkage must increment the repeat count by 1.
Regards,
Sathish Kumar
#problem #itsm #majorincident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 02:09 AM
I would suggest creating a new field instead of using a metric because the system needs an attribute to start the flag, value, or track movement between states. Adding a new field makes it easier to build the logic, similar to what we have in the incident table.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************