web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Multiple simultaneous ...
Power Automate
Unanswered

Multiple simultaneous runs for apply to each following get files?

(0) ShareShare
ReportReport
Posted on by 14
I'm trying to build an automation that refers to a SharePoint Document Library, checks to see which items match a certain status and for each item that matches that status, it takes a number of actions (creating a file, share link, and approval, and sending it to someone for review). 
 
I was initially using a condition to check the content of the 'Status' field but the flow stopped recognizing the matching items. It would run and then complete successfully as if it hadn't found any (I copy/pasted to make sure I was matching exactly what was in the flow). So I turned to removing the Condition and instead using the Filter query in the Get files action. This worked fine during my test but when I ran the flow and there were multiple files with the matching status, it only acted on the first one. Concurrency control was already off at the trigger and apply to each. 
 
Now to my question: With this configuration, will Power Automate only pull and work on one result at a time in the apply to each? Should I go back to using the Condition action instead of the filter in the Get files action? 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Gopala_Krishna Profile Picture
    1,495 on at

    Since the approval action is located within the 'For Each' loop and is configured as "Start and wait for an approval", Power Automate will pause and await the completion of the approval for each item before proceeding to the next one.

    Based on the provided description, it appears that the automation’s objective is to perform the actions of creating a file, generating a share link, obtaining approval, and sending it for review for each item that meets the criteria defined in the SharePoint document library.

    Your current configuration aligns with this requirement. However, if you wish to prevent Power Automate from waiting for approval responses and instead have it move on to the next item immediately, you can modify the condition in the Approval action card.

    More information on different types of Approval configurations available in Power Automate can be found in the shared article:
     
    Video explaining about approvals in Power Automate - https://www.youtube.com/watch?v=tiLyIL6Q2Wk&themeRefresh=1
     
  • CU08111613-0 Profile Picture
    14 on at
    Concurrency Control helps ensure that multiple items are processed simultaneously. You can enable this to process multiple items concurrently, To enable concurrency:
    Click on the three dots (ellipsis) on the "Apply to Each" step.
    Select Settings.
    Enable Concurrency Control and set the Degree of Parallelism (you can start with 20 or higher depending on your flow's requirements).
     
    Add error handling at critical steps using the Configure Run After settings (found under the ellipsis of the action step).
    This will allow the flow to continue to the next item, even if a particular action fails.
     
    Status eq 'Approved'  (Ensure that Status is spelled correctly and matches exactly as in SharePoint)
     
    you can use "Get Items" Instead of "Get Files"
     
    for temporary please remove the Delay and test your flow without the delay to see if it impacts the flow’s ability to process each file.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard