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 Platform Community / Forums / Power Automate / Status = Closed workfl...
Power Automate
Unanswered

Status = Closed workflow failing on Condition

(1) ShareShare
ReportReport
Posted on by 1,599 Super User 2024 Season 1

Hi,

 

My workflow is failing with this error:

The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/Requester']' is of type 'Object'. The result must be a valid array.

@v-bacao-msft 
tagging you in this as you're familial with my other flows.

Close1.png

Close2.png

Close3.png

Categories:
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @sudosaurus  please change your condition to contains not equals.

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @sudosaurus ,

     

    From the error message, the problem is in Apply to each and not in Conditions.

    Please try to set the two person fields of Requester and CC Requesters to allow multiple selections. Then reconfigure Flow.

    If this method does not work, please share Flow run history with us for further analysis.

     

    Best Regards,

  • sudosaurus Profile Picture
    1,599 Super User 2024 Season 1 on at

    @v-bacao-msft I have tried this however still not working.

     

    See flow history below:

     

    expression.png

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @sudosaurus ,

     

    Please ensure that you have set the person field to allow multiple selections.

    128.PNG

    Then you could create a new flow, when you configure Send email action, do not add Apply to each first but directly add person email in the field. If the field allows multiple selections, Apply to each will be added automatically.

     

    In addition, you can add a Compose in the previous step of Send email action to output the field value of Requester to view its output.

    129.PNG

    Please try again.

     

    Best Regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard