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.

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.

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,619)