- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hello
I have a requirement where user uploads a zip file through a record produce and submits, the file needs to be unzipped and all the attachments in the zip file should be there on the Record.Can we achieve this functionality?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hello Prem
This is feasible. If you have a integration hub pro License, you can see ZIP /UnZIP Action in flow designer, which helps to achieve your Requirement.
Step1: Create a Record Producer with Attachment Variable which only accepts ZIP files
Step2: In the script tab for the record producer, save the sys_id of the attachment (current.description = producer.upload_zip_file)
Step3: create a flow , with record Created, Use Look UP Record which queries Attachment Table, get the sys ID of the Attachment, then use the Unzip files Action. Please refer screenshots
Please Mark Helpful, if my Solution Helped you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hello Prem
This is feasible. If you have a integration hub pro License, you can see ZIP /UnZIP Action in flow designer, which helps to achieve your Requirement.
Step1: Create a Record Producer with Attachment Variable which only accepts ZIP files
Step2: In the script tab for the record producer, save the sys_id of the attachment (current.description = producer.upload_zip_file)
Step3: create a flow , with record Created, Use Look UP Record which queries Attachment Table, get the sys ID of the Attachment, then use the Unzip files Action. Please refer screenshots
Please Mark Helpful, if my Solution Helped you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @premkmuruga
Check this video.
https://www.youtube.com/watch?v=de1LnEPAVU0
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @premkmuruga
This could be another way (complex design)
- User will attached Zip document in data source
- https://www.servicenow.com/community/servicenow-ai-platform-forum/unzipping-an-attachment/m-p/118273...
- From there a record producer (RITM) record would be created with unzip attachment
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
I don't think this is feasible with any OOTB API from ServiceNow
you can try custom solution but it would be a lot in terms of technical debt
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader