Hi All
I am very new to PowerAutomate and am trying to figure my way through it all!
I am getting the following error on the 'apply to each' stage
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@body('Parse_JSON')?['ROWSET']?['ROW']' is of type 'Object'. The result must be a valid array.
Any help would be greatfully received!
Thank you
Paula
Hello @pdyason ,
the "Apply to each" control needs to loop actions through an array of items and not from a single Object.
For example, when you list rows present in a table, you can grab the entire list (array) and for each row, perform specific actions:
If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.
My blog site about Power Automate: https://powerautomatejoy.com/
BR,
Marco