cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
maruthi216
Helper III
Helper III

Multiple Approver Approval issue

Hello All,

 

Please find my attached issue.

 

Any thoughts..?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @maruthi216 

 

you are still running the Filter action inside of a for loop

You do not need that

 

Now that you have the length figured out

Now just add a condition action to check if the length(filter output) is equal to 2

If YES, then both users have approved

If NO, then 1 or both have rejected

 

 

 

View solution in original post

11 REPLIES 11
RezaDorrani
Dual Super User II
Dual Super User II

Hi @maruthi216 

 

responses is a collection

 

use filter array to filter each response and check with Approve

then use length function length of filter array output to see how many approved

If count is 2 - then both approvers have approved

 

Capture.PNG

 

Regards,

Reza Dorrani

 

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

 

Can you be specific on the Length Function, on how i should use that...?

Hi @maruthi216 

 

length is an expression

 

so it would be

length(dynamiccontentfilteractionoutput)

 

 

Pstork1
Dual Super User III
Dual Super User III

The Everyone must approve type returns the Outcome as a comma delimited list of individual outcomes.  So I would Split the outcome into an array.  Do a ForEach on the Array and if any value is "Reject" then set a variable to Reject, if not set it to Approve.  YOu can also use the values in the Array to set the fields in SharePoint that you want updated.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

is this what u r suggesting..?

Hi @maruthi216 

 

 

No need of a for loop around filter array 

Capture.PNG

I got that portion but unable to get the formula for Length()..

Hi @maruthi216 

 

expression should be as follows

 

length(body('Filter_array'))
 

Thank you.

 

Added that, next...?

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,676)