cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
garnern2
Helper I
Helper I

Approval Flow from Sharepoint List

Greetings.

 

I have a flow which will be triggered my schedule and require one person to approve items from a Sharepoint List. I want to store the response in the Sharepoint List. When I use "Start and wait for an approval," it does not loop through--it waits on one approval before sending the next request. How can I: 

 

Manual Trigger > Get Items (multiple) > Send Approval > Store Response without stopping the flow one at a time? This seems like it should be simple and it probably is...except for me.

1 ACCEPTED SOLUTION

Accepted Solutions
eric-cheng
Solution Sage
Solution Sage

Hi @garnern2 ,

 

In your loop, you can enable concurrency and increase the degree of parallelism.

ericcheng_0-1632468920835.png

 

I created 3 items

 

ericcheng_1-1632468934185.png

And my flow will create 3 approval tasks at the same time

 

ericcheng_3-1632468961025.png

ericcheng_5-1632468995409.png

 

Just be careful though as concurrency can led to strange behaviors if you are using variables because they are all running well, at the same time.  You can look at using Compose instead of variables.  You can read more here and here

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

 

 

View solution in original post

2 REPLIES 2
eric-cheng
Solution Sage
Solution Sage

Hi @garnern2 ,

 

In your loop, you can enable concurrency and increase the degree of parallelism.

ericcheng_0-1632468920835.png

 

I created 3 items

 

ericcheng_1-1632468934185.png

And my flow will create 3 approval tasks at the same time

 

ericcheng_3-1632468961025.png

ericcheng_5-1632468995409.png

 

Just be careful though as concurrency can led to strange behaviors if you are using variables because they are all running well, at the same time.  You can look at using Compose instead of variables.  You can read more here and here

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

 

 

View solution in original post

garnern2
Helper I
Helper I

Thanks! I actually did this initially, but alas, I was using variables which did result in strange behavior. The simple was to change the trigger to a When Modified and add a column for "Trigger" so the Approval flow doesn't start until we've updated the column to "Trigger" via another flow. Not ideal, but it's really the only workaround.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,083)