- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2021 12:18 AM
I want to get reports of incidents where Priority was changed for some particular groups. Report should include Old value and New value both.
I tried using metrics but that only gives the current value when changed. Also tried creating Database view using metrics and history tables but that was not giving proper data, since history is not reportable directly and is not preferred for reporting please help on this.
Solved! Go to Solution.
- Labels:
-
Analytics and Reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2021 08:59 AM
Look at the value field for previous priority, sort by start in my sample I picked a ticket that I knew was changed and group by ticket number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2021 12:24 AM
Hi,
you can check sys_history_line table where it has old and new value; that is the only place which gives you old and new
Yes it is not recommended to use that as that table is large.
If not then you will have to create custom reference field on incident table and store the older group whenever it gets changed to newer one.
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
‎05-27-2021 08:33 AM
Hi Ankur,
Thanks but is there any other way than creating new field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2021 08:40 AM
I don't think so.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2021 07:16 AM
check out the incident_metric table with filter on md_field = priority, group it by inc_number and active is false