Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Zip Step unclear how to add target table from target record

Duncan McFadden
Tera Expert

Hello!

 

I havent used flow designer very much in the past as i stayed towards scripting so this may come as an easy answer for someone. TLDR: trying to zip files to bring our attachment table size down. I am stuck on being able to send the target table from the target record. I am trying to leave this very reusable across all tables so i can build this once. So far I am sending the target table and record sys_id through to the action step, however when i try to do a lookup record step I do not get the "table" of the record since I am sending it with table_name variable? Not sure if thats the correct process to get but will upload attachments to hopefully show as well.

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi @Duncan McFadden 

please watch the following video which explains everything you need to know: https://www.youtube.com/watch?v=de1LnEPAVU0 

Maik

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: ...

Unfortunately, the reason his works is he is passing the reference.incident in the action step, granting him to ability to get the target table from that target record. I am trying to make it work for any table which is where i'm a little confused since I am putting the target table into a lookup record and then having to then script the condition since the table is technically not filled out for the look up record.