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.

script to get all payloads of a flow and dump the json to logs

CV1
Tera Contributor

Hi All,

 

We have a Flow that sends payload to a 3rd party app and then attaches pdf to case. This  flow has 130 executions.

The requirement is they need all the payloads and attachment for each payload. One way of doing is opening up each execution and copying the payload sent (this will have the attachments as well). Is there a better way to achieve this?
Looking if we can script to get all the payloads for the flow.
Please advise.

TIA

2 REPLIES 2

Community Alums
Not applicable

Hi @CV1 ,

This video should help :https://www.youtube.com/watch?v=Vhzx4Q8RIXM

 

Community Alums
Not applicable

Hi @CV1 ,