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 / Error message when sen...
Power Automate
Unanswered

Error message when sending booking appointment to calendar and email

(0) ShareShare
ReportReport
Posted on by 5

The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'for each' expression '@{triggerOutputs()?['body/CustomerEmail']}@{triggerOutputs()?['body/CustomerId']}' is of type 'String'. The result must be a valid array.

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @SDavis ,

     

    'Apply to each' action is a loop to execute some actions. So its input parameter must be an array.

     

    vxiaochenmsft_0-1690773377701.png

    vxiaochenmsft_3-1690773407850.png

    vxiaochenmsft_4-1690773417089.png

     

    It's a bit like forEach in js.

    vxiaochenmsft_5-1690773475382.png

     

     

    Best Regards,

    Wearsky

  • SD-19091919-0 Profile Picture
    5 on at

    Thank you for the heads up 

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard