cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sguerrero1971
Level: Powered On

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
Community Support Team
Community Support Team

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.
3 REPLIES 3
Community Support Team
Community Support Team

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.
Highlighted
sguerrero1971
Level: Powered On

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

Community Support Team
Community Support Team

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.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 59 members 4,372 guests
Please welcome our newest community members: