The CreatorCon Call for Content is officially open! Get started here.

Flow payload elements order change

CV1
Tera Contributor

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

 

 

1 REPLY 1

Community Alums
Not applicable

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