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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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
Users online (1,616)