- If the incident is re-opened while in a resolved state, a new metric created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
If the incident state changes to resolved, new metric has been creating,
If the incident is re-opened while in a resolved state new metric should create
right now i am using this code for "If the incident state changes to resolved, new metric has been creating,"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
This is already taken care of OOB. Every state change creates a new metric record.
Also: posting the same question twice is against Community guidelines:
https://www.servicenow.com/community/community-resources/servicenow-community-code-of-conduct-for-al...
https://www.servicenow.com/community/developer-forum/if-the-incident-is-re-opened-while-in-a-resolve...
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
In ServiceNow Metric Definitions, the script usually runs when the record is updated. To capture a "re-open," we look for a change where the previous state was "Resolved" (6) and the current state is anything else (like "In Progress" or "New").
