- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 05:29 AM
Hi,
How do I extract data of the 'sys_audit', 'sys_choice', and 'sys_attachment' table for Incident table.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 05:35 AM
Hi Shoheb,
All three tables have a table field on them. You can simply filter on that.
Use the navigator filter to go to sys_choice.list (or sys_attachment.list), filter on the correct value in the correct field, then right click Export> XML.
sys_audit is potentially very large and I don't recommend exporting it unless absolutely necessary. Often times, taking the history from one instance to another is not mandatory.
Exporting and Importing XML Files - ServiceNow Wiki

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 04:27 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 04:38 AM
Without a domain field, there's no way to get just the audit records for a particular domain then.
Forgive me if I've already asked... what is the business requirement behind extracting information from a single domain from the sys_audit table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 05:05 AM
It is just the reqirement which we got. We dont knw the reason behind it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 05:08 AM
Thank you Shoheb. Unfortunately, you won't be able to meet this particular requirement.