Download attachments to single Zip file

User662839
ServiceNow Employee
ServiceNow Employee

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?

 

7 REPLIES 7

Yes

asifnoor
Kilo Patron

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.

User662839
ServiceNow Employee
ServiceNow Employee

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