how to call unzip Action in flow to unzip zip file for every record of that file

keshav77
Tera Contributor

Hi All,

 

I am working on unzip the zip file for records on particular table.

I have gone through the community post -- https://www.servicenow.com/community/servicenow-ai-platform-blog/zip-and-unzip-flow-action-deep-dive... which help me to create action. and it work fine while I test.

 what flow should I create for this case to use on particular table.

currently It work on one particular record only. when we pass sys_id under table_sys_id on that case only but we want to this to work on dynamicaly on every record when ever attachment comes in on any record

But while I  am trying to call this action on flow where trigger condition is on sys_attachment  table  and passing condition table name and sys_id  and under action  action input 

var id = fd_data.trigger.table_sys_id;
gs.error("record sys_id"+id);
return id;
keshav77_0-1768326498711.pngkeshav77_1-1768326539653.png

I need help In this what flow should I create to use this action where we dynamical call when ever on any record for the particular table we place the zip and the change to unzip with the help of this action. currently It work on one particular record only. as we pass sys_id under table_sys_id

@Ankur Bawiskar can you help please in this case I am looking for help eagerly 

1 REPLY 1

Ankur Bawiskar
Tera Patron

@keshav77 
you can pass the table name and record sysId as input

what thing you require?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader