cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Pass array in Recipe Function

workingWorkato
Deputy Chef I
Deputy Chef I

Is there a way to pass an array into a Recipe Function? When I try to post an array in sample JSON, it says it needs to be an object.

1 ACCEPTED SOLUTION

gary1
Executive Chef III
Executive Chef III

You can make an object with a single key for your array, like this:

gary1_1-1702400467995.png

It will generate this schema:

gary1_2-1702400516829.png

And here's the input when calling the function:

gary1_3-1702400546148.png

 

View solution in original post

1 REPLY 1

gary1
Executive Chef III
Executive Chef III

You can make an object with a single key for your array, like this:

gary1_1-1702400467995.png

It will generate this schema:

gary1_2-1702400516829.png

And here's the input when calling the function:

gary1_3-1702400546148.png