cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sifu
Post Prodigy
Post Prodigy

How to ensure flow will wait until other finishes?

I have a process that writes in multiple SPO lists, once the flow starts it takes about 20min to finish.

Its triggered by user, when new item is created...

How can I make the flow wait until the previous finishes?

I had the idea to configure a loop (do until) a certain value is not in the list... eg, no items in the list is started

(have one column with default value "waiting" and once the flow starts it would update this value to "started".) but it turns out that all flows starting after the first one will just jump in the started at once.... this is significantly slowing down the process.

 

Sifu_0-1654702528624.png

 

3 REPLIES 3
Mira_Ghaly
Dual Super User
Dual Super User

@Sifu 

I want to make sure I understand your request correctly so you need all instances to wait for the running instances to finish ,Is that correct?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
takolota
Super User
Super User

@Sifu & @Mira_Ghaly 

 

Yeah, we’re going to need more information on this one.

 

But if you want this flow to only trigger one run at a time, one after another, then you can go into the 1st action, the trigger action, settings and use the Concurrency Control limit to limit the flow to only doing 1 run at a time.

 

If you’re asking something else like you have multiple different lists & you want things entered in a certain sequence, then we may help you explore setting the sequence of flow actions a certain way, adjusting the Do Until loop concurrency settings, or ask more about your current license & if you want to use child flows.

Sifu
Post Prodigy
Post Prodigy

Guys, @Mira_Ghaly @takolota 

the concurrency control is going in the right direction...  but what if i want to start in some cases the flow because its different list like you pointed out, is there a feature that would notice that the flow is running ...?

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (1,351)