The CreatorCon Call for Content is officially open! Get started here.

Select the attachments from the list of attachments and download as a zip

Manu31
Tera Contributor

Hi All,

 

We need to develop a functionality, where agent can select list of attachments on the particular record and dowlnoad as a zip file.

 

Can anyone help us out on this.

 

Regards

Manu

6 REPLIES 6

Sandeep Rajput
Tera Patron
Tera Patron

@Manu31 Zipping and unzipping operations were unheard of in ServiceNow prior to Tokyo release. Some folks used to zip the files with the help of mid servers. 

 

In Tokyo release, ServiceNow has addressed this need and now provided this feature as a step within flow designer.

 

Please refer to this documentation for more details https://docs.servicenow.com/bundle/utah-build-workflows/page/administer/flow-designer/reference/zip-...

 

In order to leverage this functionality for your use case, you might need to create custom UI Action 'Zip Attachments' on your Task record. This UI Action will open a custom page which will allow the agents to select the attachments from a list of attachments which are attached on the record. The moment agents are done with selecting their attachments they will click another button to zip these files. On click of this button, you would need to trigger the flow which will perform the Zip step on the selected attachments and attach the zipped file back to the original record.

 

I also came across a very nice video detailing this zipping and unzipping process via the flow designer. Please refer to the same here https://www.youtube.com/watch?v=de1LnEPAVU0.

 

Hope this helps.

With new Zip Steps you can finally add file attachment zipping and unzipping to your record attachments in Flow Designer. 🔎 Looking for #ServiceNow talent or opportunity? 🤝 Need coaching or mentorship? http://theduke.digital/contact/ 👑 Duke Digital Media sponsorships & consults: ...

Hi Sandeep,

 

I have gone through this and it was very helping, but do you have any idea which plugin we have to install for this zip operation. I found this one (see the below screenshot). Is this the correct plugin or it is something else.

 

Manu31_0-1681732148679.png

 

Screenshot 2023-04-17 at 5.33.36 PM.png

 

Yes, you need to install Utility Actions spoke to get access to Zip/Unzip actions. 

Thanks for the quick response!!

 

Thank You