
BarryS.04877 (Customer) asked a question.
I have a workflow that makes an API call for a user's apps along with app profile. Using the map function I call a helper flow that returns a claim that is an array value from the object (item) that is passed in.
I am hoping to have all arrays (one from each helper function) combined such as:
[
"a",
"c",
"d"
]
where the child flow returned an empty array (this is expected as no value for what would be "b")
But instead I get:
[
{
"output": ["a"]
},
{
"output": "[]"
},
{
"output": ["c"]
},
{
"output": ["d"]
}
]
Between the flow and the helper flow I'm now sure where or how to fix this.

Hello @BarryS.04877 (Customer) Thank you for posting on our Community page!
You can use the LIST - PLUCK card to snag "output". For this you can find our doc below:
https://help.okta.com/wf/en-us/content/topics/workflows/function-reference/list/list_pluck.htm
Additionally if you don't want the "empty" will also need to do a LIST - FILTER where the value IS NOT EMPTY.
https://help.okta.com/wf/en-us/content/topics/workflows/function-reference/list/list_filterby.htm
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.