Flow payload elements order change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2024 12:21 PM
Hello All,
We have integration where a flow sends payload with attachments along with other elements like
address:
customer Name
Code:
Parts:
Part name:
Part Qty:
Billing
Type:
Qty:
actual qty
Attachments:
Invoice:
Ticket:
Attachment
Above is the structure. Attachments is done via base 64.
When we are checking logs the attachment element is displayed first due to which it gets truncated and we are unable to view other elements in the payload.
Is there a way to change such that the elements are displayed/sent first and then the attachments? This is a requirement for the other application as well so that they can log the data.
Please advise
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2024 05:58 AM
Hi @CV1 ,
I would recommend a approach to create a script include and then call it from your flow.
Script Include should handle the reordering of the payload elements.
Call the Script Include from your Flow to process the payload before sending it.
If my response has resolved your query, please consider giving it a thumbs up and marking it as the correct answer!
Thanks & Regards,
Sanjay Kumar