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

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
v-yuazh-msft
Community Support
Community Support

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
v-yuazh-msft
Community Support
Community Support

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

Anonymous
Not applicable

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!

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 II
Advocate II

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,055)