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
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.
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
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 ! 😞
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.
Thanks. Any other suggestions how I might be able to get each persons responses approved?
User | Count |
---|---|
93 | |
45 | |
20 | |
20 | |
15 |
User | Count |
---|---|
134 | |
53 | |
44 | |
36 | |
26 |