web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Error in flow

(0) ShareShare
ReportReport
Posted on by 15

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.

 

 

pdyason_0-1661011403807.png

Any help would be greatfully received!

Thank you

Paula

 

Categories:
I have the same question (0)
  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    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:

    MarconettiMarco_0-1661066898992.png

     

    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

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard