- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2022 11:03 PM
I want to extract report from Sys audit table and compare it with the changes made on Incidents. Sys audit table has sys id for those incidents. How can i extract file/report with the Incident numbers.
Thanks.
Solved! Go to Solution.
- Labels:
-
Analytics and Reports

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2022 11:11 PM
You need to create a Database view for
sys_audit & incident table.
Once done you can report on number instead of Document key.
Can you one such need as it is not ideal to report on audit & other tables not because of security but tons of data it holds.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 01:05 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 01:13 AM
Still if you create a report on this database view, It will perform the join and query the sys_audit table which will ultimately lead to performance concerns on the reporting.
In my approach I have mentioned to create a database view only on the incident table and not on the sys_audit table.
Regards
Sulabh Garg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 01:23 AM
Not sure what is the purpose of creating a database view for one table alone i.e. incident.
That itself defeats the purpose of database view.
It is not about marking an answer correct but what an option that minimizes efforts. As updated had already mentioned it is not ideal to report on audit table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 01:30 AM
Hi Jaspal,
To create database view only on Incident table will help to export the sys id's and Incident number from the report as if you create directly report on incident table then you cannot export the sys id and incident number together.
This is the limitation.
Regards
Sulabh Garg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2022 01:34 AM