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 / Unable to trigger the ...
Power Automate
Unanswered

Unable to trigger the mail action

(0) ShareShare
ReportReport
Posted on by

Hi guys ,

 

I am currently doing my project using power automate to automate my email flows , While running i got this error " The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@{triggerBody()?['entity']?['Power BI values']} ' is of type 'String'. The result must be a valid array." How can convert this to array expression should be like this "@triggerBody()?['entity']??{}['Power BI values']" two question mark.

 

help me guys........

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

    Hi @Ramsonthosh17 ,

     

    Could you please show the outputs of '@{triggerBody()?['entity']?['Power BI values']} ' ?

    If the expression output string is separated by a certain character, such as a space, you can use the spilt function to cut it into an array.

    spilt(triggerBody()?['entity']?['Power BI values'],' ')

     

     

    Best regards,

    Rimmon

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard