script to get all payloads of a flow and dump the json to logs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 08:30 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 09:14 PM
Do you need a JSON payload and you're not exactly sure how to write a script to generate one? Don't worry, ServiceNow's new JSON Builder Step has you covered. Watch this video to see me convert one of my scripts to generate the JSON payload for a calendar event in Google to the new JSON builder ...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 11:46 PM
Hi @CV1 ,