cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Post Prodigy
Post Prodigy

dynamically build parallel approval processes inside MS Flow based on a People or Group field inside sharepoint list

 

I read many examples of using MS Flow and how to build parallel and sequential approval processes. but in my case i need to dynamically build parallel approval processes based on the number of users inside a People or Group field (which allow multiple selections). where i have the following main business logic:-

  1. the user create a new list item >> enter one or many users inside a People or Group site column.
  2. then inside MS Flow to dynamically build approval processes which are equal to the number of user/s inside the People or group site column.
  3. then if all users Approve the requests the Status will be equal to "Approved", while if some users Approve and the others Reject to change the status to "Partially Approved" while if all users Reject to change the status to "Rejected".

so is this a supported scenario inside MS Flow? and how i can implement this dynamic parallel processes? Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Take a look at the following Blog

 

https://flow.microsoft.com/en-us/blog/advanced-flow-of-the-week-send-parallel-approval-requests-to-a...



-------------------------------------------------------------------------
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

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

You can't actually add parallel branches to a flow dynamically during runtime.  But you can create a Loop, like you were going to do a sequential flow, and tell the loop to run everything in parallel.  Just turn on concurrency in the loop settings and tell it the maximum number of concurrent (parallel) approvals you will have.  The maximum for this is 50.



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

@Pstork1 thanks for the info, but from where i can find more details about how i can do so?

Pstork1
Dual Super User III
Dual Super User III

Take a look at the following Blog

 

https://flow.microsoft.com/en-us/blog/advanced-flow-of-the-week-send-parallel-approval-requests-to-a...



-------------------------------------------------------------------------
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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,253)