Loop input is not iterable. Please change the loop input and try again

But my input is an array so I'm stumped. Tried refreshing the page etc but no joy...

Hey there!

What you're looking for here is to update your EasyPlanIDS as it requires an array to be iterable.

return unmatchedPlans.data.EasyPlans.data
1 Like

doh! Thanks...I'd used a function earlier in the generation of EasyPlanIDs and had forgotten that unlike pure JS, the workflow returns the function object not the data from the function return statement.

This was cascading and I'd not noticed the data/metadata/value properties as cascading from there rather than elements of the block itself.