To fetch categories and sub categories for reports from sys_choice table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 05:10 AM
Hi,
My requirement to get a report of all the categories,sub categories & sub sub categories.
All the choices are stored in sys_choice table and my requirement is to get separate column of category sub category & sub sub categories. but i am not able to do this because category and sub category are coming under same column name i.e element.
I tried to do it through database view but ran out of ideas.
Pls help.
Regards,
Nikita
- Labels:
-
Personal Developer Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 05:12 AM
Hi,
Will grouping by element help?
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2020 05:08 AM
Hi Anurag,
Sub categories are dependent on category. So, grouping by element won't help here.
Regards,
Nikita

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 05:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 05:19 AM
Hi Nikita,
Please refer below link
https://docs.servicenow.com/bundle/newyork-performance-analytics-and-reporting/page/use/reporting/concept/c_ReportOnSystemTables.html
Please mark as correct/helpful based on impact.
Thanks
Darshani Sambare