cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Approval flow where at least 2 of 3 approvers must approve

I have been asked to build an approval flow where the request for approval is sent to 3 managers.  At least 2 of these 3 managers must approve the request before it can be considered approved.  If any of the managers reject the request it should be rejected and an email sent back to the requester.

 

I have looked at parralel approvals, but it seems that the approved condition would be met if any of the branches approves the request.  I need to have at least 2 of the 3 approve the request, has anyone had this issue before?

 

I've looked through the questions here and I haven't ran across this scenario yet.

 

Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Approval flow where at least 2 of 3 approvers must approve

Hi @sguerrero1971,

 

Do you want to send out an email with at least 2 of the 3 managers approved the request?

Please check the following flow for a reference.

In my case, I have two approvers, when both of the two approvers approved the request, it will send out an email to the requester.

I use two parallel approvals and after each approval action, use a compose action to get the corresponding number with the following code:

if(equals(body('Start_an_approval')?['response'],'Approve'),0.5,0)

Then in the condition, if the total of the two compose action is greater than or equal to 1, send out the approved email to the request.

Images for your reference:

1.PNG2.PNG 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Approval flow where at least 2 of 3 approvers must approve

Hi @sguerrero1971,

 

Do you want to send out an email with at least 2 of the 3 managers approved the request?

Please check the following flow for a reference.

In my case, I have two approvers, when both of the two approvers approved the request, it will send out an email to the requester.

I use two parallel approvals and after each approval action, use a compose action to get the corresponding number with the following code:

if(equals(body('Start_an_approval')?['response'],'Approve'),0.5,0)

Then in the condition, if the total of the two compose action is greater than or equal to 1, send out the approved email to the request.

Images for your reference:

1.PNG2.PNG 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Regular Visitor

Re: Approval flow where at least 2 of 3 approvers must approve

I am going to give it a try.  I think this is will work!  

 

Thanks for the response. 

 

SG

Highlighted
Community Support
Community Support

Re: Approval flow where at least 2 of 3 approvers must approve

Hi @sguerrero1971,

 

What’s your current situation? Is it working for you now?

Please let me know if you need more help.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Approval flow where at least 2 of 3 approvers must approve

I have same scenario. I have implemented all things to consideration of approval from parallel branch. but i got stuck if 2 person approve and 3rd one didn't take any action. I saved value to variable as well. but things is all three person needs to take action (approve/Reject). because if one of the person doesn't act on approval then flow is not going ahead. In my case if got two approval then Flow should move, should not wait for third person action.

As you can see run after condition it will for all three activity to complete.

 

 
 
 

image.pngimage.png

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,214)