Hello, all! Power Automate informs me that this is a "new issue" and I should ask the community for help! I get the following error when I test a flow I've created:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body']' is of type 'Object'. The result must be a valid array.
The purpose of the flow is to send the responses from a Form I created to a pair of other people in my office. Here's what the flow looks like. Does anyone have any tips on what I'm doing wrong? Thanks so much!
Solved! Go to Solution.
Hi @ahhunter
try to use
This worked - thank you so much! For other newbies like myself, I had to enter that formula as an Expression rather than as dynamic content.
Hi @ahhunter
try to use
This worked - thank you so much! For other newbies like myself, I had to enter that formula as an Expression rather than as dynamic content.
Thank you. This worked like a charm!
Hi @Nived_Nambiar , I have a similar situation but in my case I get this error:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@outputs('Compose')' is of type 'String'. The result must be a valid array.
In my '@outputs('Compose')', I have this function - base64(outputs('Get_file_content')?['body']). When I try to put this in the "Select an output from previous steps", it returns the above error. Do you have any solutions for this
?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.