cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jsalbeck
Frequent Visitor

Approval Flow - Variable Number of Approvers for Approve Condition

Hello,

 

I have an approval flow where there can be anywhere from 1 to 4 approvers. I am having trouble meeting the Approval condition so the next part of my flow triggers.  Setting "Outcome is equal to Approve" and "All of the Responses to Approve" does not work.

I know typically you need to put "Approve" more than once if there is more than one approver. For example, if there were two, in the condition I would have to put "Outcome is equal to Approve, Approve". I can't do this though since the number of approvers is always different. 

Any suggestions or help is much appreciated!

 

 

 Variable Approver Flow 1.PNGVariable Approver Flow 2.PNG

 

 

The result:

 

Variable Approver Flow 3.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Outcome will be a comma delimited list of the responses of all the approvers.  So it will look something like this "Approve" or "Approve, Approve, Approve" or "Approve, Reject" depending on the responses and the number of approvers.  Since you don't know how many approvers you can't really predict exactly what Outcome will look like.  But you can use the condition Outcome contains Reject.  If the word reject is in Outcome than someone rejected the approval.  If not then everyone approved, no matter how many there were.  Just switch your condition to that and swap the yes and no sides and you should have what you want.



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

View solution in original post

1 REPLY 1
Pstork1
Dual Super User III
Dual Super User III

Outcome will be a comma delimited list of the responses of all the approvers.  So it will look something like this "Approve" or "Approve, Approve, Approve" or "Approve, Reject" depending on the responses and the number of approvers.  Since you don't know how many approvers you can't really predict exactly what Outcome will look like.  But you can use the condition Outcome contains Reject.  If the word reject is in Outcome than someone rejected the approval.  If not then everyone approved, no matter how many there were.  Just switch your condition to that and swap the yes and no sides and you should have what you want.



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

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,325)