cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bbrazeau Advocate III
Advocate III

How to stop new flows from starting if one is already processing?

We have a scheduled flow that checks for new data a few times an hour and a typical run takes a minute or less.  Recently the vendor reset the flag on all the data causing a few hundred rows to reprocess.  This took a few hours to complete.

 

No big deal, except that each subsquent scheduled run of the flow saw the same couple hundred rows requiring processing.  In some instances I can understand multiple flows running at the same time to be a good thing, but not in this particular Flow's case. 

 

Is there a setting available that would have the flow engine check if there is an active run, and if so, skip that schedule?  There are ways to manually track a status we could build, but I was wondering if there was anything out of the box.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: How to stop new flows from starting if one is already processing?

Hi @ bbrazeau,

 

 

Do you want to stop new flows from starting if one is already processing?

 

Stopping new flows from starting if one is already processing is not supported in microsoft flow currently,I afraid that there is no way to achieve your needs in Microsoft Flow currently.

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,
Alice Zhang

View solution in original post

5 REPLIES 5
Community Support
Community Support

Re: How to stop new flows from starting if one is already processing?

Hi @ bbrazeau,

 

 

Do you want to stop new flows from starting if one is already processing?

 

Stopping new flows from starting if one is already processing is not supported in microsoft flow currently,I afraid that there is no way to achieve your needs in Microsoft Flow currently.

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,
Alice Zhang

View solution in original post

Highlighted
bbrazeau Advocate III
Advocate III

Re: How to stop new flows from starting if one is already processing?

Anonymous
Not applicable

Re: How to stop new flows from starting if one is already processing?

Once again, something needed as a basic requirement is not implemented.  The amount of time taken to add these basic features to the core platform and core MS products is beyond a joke.  Stop developing all the other non-MS connectors and focus on your own stuff first!

RobEllis
Frequent Visitor

Re: How to stop new flows from starting if one is already processing?

See https://powerusers.microsoft.com/t5/General-Flow-Discussion/Is-it-possible-to-wait-for-a-flow-run-to...

 

(Bascially you can limit the concurrency on the Flow trigger action to 1 - it is unlimited by default)

Mengting Advocate I
Advocate I

Re: How to stop new flows from starting if one is already processing?

Hi,

 

This has already been realized in Microsoft flow. If you:

1. Go to the settings of the first step of the flow

2. Ture on Concurrency Control

3. Degree of Parallelism, make this value 1

 

Then what you want will be realized. When the first-triggered flow is running the second-triggered flow will run after the first one finishing running.

 

FlowTriggerConditions.png 

 

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (6,156)