Do you need to pass a JSON array to a child flow?  Here are 2 simple flows.  The parent creates a simple JSON array that I want to pass to the child flow

The difficulty is that a child flow requires a manual trigger and there are 6 input types offered for manual triggers and an Array isn’t one of them.  So how do you get around this?

json array

The answer is to use the input type ‘Text’

In the parent flow, save the JSON array as a string rather than as an array.  The string can now be successfully passed to the child flow as ‘Text’

Then in the child flow, parse the string which converts it back to a JSON array.  This is a neat little conversion work-around!

Both the parent and child flow are shown below

json array
pass json array

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top