Report to fetch last 2 month data of incident where incident state changed to pending
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 08:46 AM
Hi,
Report to fetch last 2 month data of incident data where incident state was changed to pending with their pending reasons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 08:57 AM - edited 12-21-2023 08:59 AM
Hi @Rangasamy Sugan
This can be achieved using metric.
https://your_instance.service-now.com/incident_metric_list.do?sysparm_query=mi_definition%3D35f2b283...
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 09:01 AM
Hi @Saurabh Gupta , Could you please elaborate like please specify the conditions to fetch the data..
Please confirm if you were saying about incident metric table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 09:02 AM
Hi @Rangasamy Sugan
Yes, incident metric table.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 09:03 AM
Hi @Rangasamy Sugan,
As you are looking for history data in state change to pending from 2 month, simple report will not give the desired result on current state of incident and it's not recommended to run query over system audit table.
You can check the OOTB metric_definition and get the metric_instance records
If this metric not helpful, create new definition for future report.
-Thanks,
AshishKMishra
-Thanks,
AshishKMishra
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution