Download attachments to single Zip file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2019 08:55 PM
I have a table called xxx( same like RITM), When i apply some filter conditions i will get 82 HR ticket,
Those hr ticket has 3 to 4 attachments for each ticket.
now, they i some automation(script) that downloads each ticket attachments to respective folder that means 82 folders will create with the ticket number and attachments related to ticket will save to respective folder in desktop.
These 82 folders needs to save in to one ZIP file in desktop
Does this requirement possible?
- Labels:
-
Best Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2019 09:39 PM
Yes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2019 09:46 PM
Hi Shangi,
Refer to this link https://www.servicenowguru.com/scripting/download-attachments-zip-file/ This should help you.
Let me know if you need any changes in the script.
Mark the comment as a correct answer if this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2019 09:51 PM
Hi Asif,
Thanks for the response but, this is not im looking for.
I don't need a button, my client need something that download's all attachments in one go.
Regards,
Sunil