Can we export all attachments of the incident table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2019 06:34 AM
Hi Team,
Is there any way to export all attachments of the incident table?
Please help.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2019 07:06 AM
Hello SNOW,
You can export all incident attachments. In order to do that you need to download 2 XML's as attachment data is available in two different tables.
Attachment Tables: "sys_attacment" has got ONE-TO-MANY relationship with "sys_attachment_docs" table
- sys_attachment
- sys_attachment_docs
Refer this: Attachments in ServiceNow
Steps to download: sys_attachment:
- In the navigation filter, enter sys_attachment.list
- Use a filter to find the attachments you need. For example: Table Name is Incident. This will give you a list of attachments for incidents table.
- To download Right Click between column and do as per shown below
Steps to download: sys_attachment_docs
- In the navigation filter, enter sys_attachment_docs.list
- Search by(show related field) then Sys Attachment-> Table name IS Incident.
- This will give you a list of attachments for incidents table.
- To download Right Click between column and do as per shown below
Please mark as Correct Answer and Helpful, if applicable.
Thanks!
Abhishek Gardade
Hexaware Technologies
Abhishek Gardade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2020 01:52 PM
Hi,
Do you know how to compile the records together after it's been exported? I believe that it's base64 encoded and gzip. We tried to decode and concatenate but it's not working using java.
Thanks.