Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Prevent flow from running concurrently with same sharepoint ID

(0) ShareShare
ReportReport
Posted on by 170

I have a flow that is triggered from a button in PowerApps. No problem. Everything works fine. Several differeret useres running the same flow concurrently... No problem, as long as the ID in the SharePoint list is unique. 

 

The flow takes 2½ minutes to complete.  Now at then it happens that the user clicks the button again, which will make both flows fail. 

 

I want to keep concurrent control off, but prevent the flow from running simultaneously with the same SharePoint ID. 

 

Is this possible? and what do i write in the trigger conditions? 

 

UI1222_0-1632342210138.png

 

  • slx Profile Picture
    108 on at
    Re: Prevent flow from running concurrently with same sharepoint ID

    Hi

    I have question if you could help in following scenario:
    there are 10 concurrent power automate flows and each instance could last 1-10 sec
    I want to update a flag after all of the instances execution are completed.
    what is most elegant way to do it ?

    thank you

  • Michael Seerup Profile Picture
    170 on at
    Re: Prevent flow from running concurrently with same sharepoint ID

    That it a great solution, i didn't think of that. 

     

    Cheers

  • Verified answer
    tom_riha Profile Picture
    10,127 Most Valuable Professional on at
    Re: Prevent flow from running concurrently with same sharepoint ID

    Hello @UI1222 ,

    with Power Automate the flows are not aware of each other, so to give it information that the flow did already run on a specific SharePoint item you must keep the information in the item. I'd add a choice or checkbox field to the SharePoint list, e.g. 'FlowDidRun' and update it in the first action when a flow is started.

    You can then build a trigger condition to trigger the flow only if the choice/checkbox has the default value (not the updated one).

    The easiest way to create the trigger condition would then be with the 'Filter array' action, e.g.

    image.png

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1