cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rwilliamsonnc
New Member

Issues with All Approvers Must Approve Flow

Looking for assistance in fixing this error. The flow seems to work well with First to Respond. PA continues to add in Apply to Each below condition line.

 

he execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@{outputs('Start_and_wait_for_an_approval')?['body/responses']}@{items('Apply_to_each_3')?['responder/displayName']}' is of type 'String'. The result must be a valid array.

 

rwilliamsonnc_1-1637268217251.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @rwilliamsonnc ,

 

Could you please share more details about your scenario? 

 

Please refer to below doc and you will see the note:

https://docs.microsoft.com/en-us/power-automate/all-assigned-must-approve#create-the-flow

When a cloud flow with the Start and wait for an approval action is configured with Approve/Reject - Everyone must approve, it waits until all Assigned to approve or at least one Assigned to rejects the approval request.

 

So actually the outcome the approval action is only a line of text, no matter how many approvers are there and what their responses are.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @rwilliamsonnc ,

 

Could you please share more details about your scenario? 

 

Please refer to below doc and you will see the note:

https://docs.microsoft.com/en-us/power-automate/all-assigned-must-approve#create-the-flow

When a cloud flow with the Start and wait for an approval action is configured with Approve/Reject - Everyone must approve, it waits until all Assigned to approve or at least one Assigned to rejects the approval request.

 

So actually the outcome the approval action is only a line of text, no matter how many approvers are there and what their responses are.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,948)