How to calculate total time duration of pending status in incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 12:19 AM
We are trying to calculate total time duration in pending status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 12:23 AM
You can use metric definitions which is OOB functionality to calculate the time of the pending status
Thanks,
Murthy
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 12:23 AM
Hi,
you can incident metrics for this
Already there is 1 OOB for incident
Name: Incident State Duration
It would tell incident was in Pending, On Hold etc for how much duration
Table which holds this - incident_metric
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2022 09:46 PM
Hey Ankur,
I need to do the same thing on the Idea and Demand tables.
We use some stats from the task table + new custom stats
The new stats are not taken into consideration.
Do you have an idea?