Need to extract ZIP files in inbound actions script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2019 07:20 PM
I'm receiving a ZIP file from an Email, i need to extract the PDF files exists in that ZIP file and process in inbound actions.
Does anyone have any idea on how this can be achieved.
Tried below but no luck.
-- ZIPInputstream Java package
-- Data sources, as the PDF format is not supported.
-- GLIDEZIPUTIL
- Labels:
-
Platform and Cloud Security

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2019 08:47 AM
This isn't really possible without a lot of development time and outside libraries. It also isn't really viable with Javascript itself, due to the nature of the programming language. If you're dead set on doing this, here is a StackOverflow post that goes over the code and explains it, and offers several links to libraries such as jszip and zip.js.
https://stackoverflow.com/questions/2095697/unzipping-files
Here's another post on using GlideSysAttachment, however, that won't necessarily fix your issue.
https://snprotips.com/blog/2016/2/25/understanding-and-using-glideattachment
I would go back and try and adjust the requirements for this.
Hope this answer helped or solved your problem. If so, please mark as 'Helpful' or 'Correct'. Thanks!
Alexander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2019 09:42 PM
Hello Alexander,
Thank you for your reply, i have checked these sites but no luck.... was trying to do inside servicenow, maybe like ZIPINPUTSTREAM but that too looks like discontinued after Calgary version..!!!
😞