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

Notifications

Announcements

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:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

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

  • v-bacao-msft Profile Picture
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard