
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2019 12:02 AM
Hello All,
I am trying to download all the attachments from attachment table for incidents/request items
i have seen a solution provided by servicenow guru
https://www.servicenowguru.com/scripting/download-attachments-zip-file/
this works fine for single incident/request item and it downloads perfectly
my requirement is to download all the attachments from the attachments table,here we are passing sys_id and table name from ui action to script processor ,can we pass multiple sys_ids and loop through it to download all attachments of all incidents??
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2019 12:52 AM
Hi Liyakhat,
I have provided a similar solution earlier here in the community.
Kindly refer to this link where I have tweaked the code to download all attachments as a zip file. Follow the steps given in the Accepted answer in this link and it will work for you.
Kindly mark my comment as a correct answer and also helpful once worked.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2019 02:21 AM
Yes its working,thanks asif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2022 10:08 AM
Hi Asif,
Kindly help out if we have a solution without Processors. As they are deprecated now.
Thanks,
Palak.