cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Flow Approval Sequence

Hi

 

I have a flow that gets data out of a Sharepoint List. It finds each person who has submitted overtime to the list (there could be mulitple instances per person) and emails their manager to approve.

 

The issues is it's doing the approvals sequencially, meaning it's not moving onto the next person in the list until the person before them has had their request approved. Is there a way to do it without waiting for the approval to come back? Just don't want everyone's overtime not been processed if its sat in 1 persons mailbox !

 

I've used send email with options but does the same if you do start and wait for an approval

 

Thanks

 

4.PNG

 

1.PNG

2.PNG

 

3.PNG

 

 

 

 

 

5 REPLIES 5
Highlighted
Dual Super User III
Dual Super User III

By default Apply to Each loops run serially.  But if you access the Settings for the Action you can change it so that the loops will run concurrently.  The maximum number of loops you can run at any one time is 50.  Use the '...' menu in the upper right corner of the action to access the settings for the action and then enable the Concurrency control and set the maximum number of parallel loops you want to run.

screenshot.png



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

Ah thanks for that, I didn't know that setting was there.

If I do the first apply to each loop it just pulls all the info through

2a.PNG

 

I think this is because it's doing them in parallel , it's not getting to set the final variable to tell it to move onto the next person ! 😞 

Highlighted
Dual Super User III
Dual Super User III

I would agree.  If you are trying to generate a total using a Loop you don't want to set that Apply to Each to run concurrently.  The parallel processing should be used sparingly and by design only.



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

Thanks. Any other suggestions how I might be able to get each persons responses approved?

Highlighted

I'm having a similar issue where I need the Apply to Each to run parallel, not sequently. Any suggestions on this issue very much welcome!

https://powerusers.microsoft.com/t5/Building-Flows/Teams-Post-a-choice-of-options-as-the-Flow-Bot-to...

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.

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