cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wiredupjax
Resolver I
Resolver I

How to cancel multiple runs in a flow?

I have kicked off a flow that created 3000 running flows.  I see a post from 2018 but don't see any other responses since.  I have about 40 hours before these messages are sent out.

 

Disabling the flow doesn't help.

 

Any recommendations?

1 ACCEPTED SOLUTION

Accepted Solutions

I corrected the title - not multiple flows but runs in a flow.

 

After speaking with MSFT tech support, we copied the flow, deleted the original and it automatically closed the runs.

 

I appreciate you reading and responding!

View solution in original post

8 REPLIES 8
v-bacao-msft
Community Support
Community Support

 

Hi @wiredupjax ,

 

Please try to use Flow management to turn off Flow.

In addition, you could filter out the flow that needs to be closed by other attributes such as connector name, Flow name and so on.

Image reference:

160.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I corrected the title - not multiple flows but runs in a flow.

 

After speaking with MSFT tech support, we copied the flow, deleted the original and it automatically closed the runs.

 

I appreciate you reading and responding!

View solution in original post

Considering we're supposed to be able to test things, I'm surprised there isn't a button with "cancel all pending flows" or that turning it off doesn't automatically stop it. Thanks for the tip on deleting it.

So the MS solution is to copy the original flow and delete the old flow.

 

But what about when a Flow is part of the solution. Copying the flow does not add it back into the solution. I guess we have to then go back to the solution and add it back.... 

 

That makes a whole lot of sense right. ... Here i thought a "Cancel running flows" button would make a whole lot more sense to every user under the sun, but hey, what do i know......

I know this is an old thread, but the following might be useful for others:

 

http://www.dynamicscrm.blog/power-automate-cancel-all-running-flows

 

it uses a bookmark button to call a javascript command to cancel all running flows. It still takes quite some time to cancel each and every running flow one by one, but it gets the job done eventually...

DavidNguyen
Frequent Visitor

You can select a specific From timestamp to bulk cancelling the flow runs with this website:

 

MSPOWER : https://mspower.herokuapp.com/ 

sign in with your account as go to Flow details page in its Dashboard 

tmal
Regular Visitor

My question is - why did the flow create so many emails in the first place? I honestly have found a variety of workarounds with no definitive solution.

ashiqf
Helper II
Helper II

For those who are looking for a solution, this post will help you

https://ashiqf.com/2021/05/16/cancel-all-your-running-power-automate-flow-runs-using-m365-cli-and-re...

There are Microsoft 365 CLI command & Power Automate REST api endpoint to cancel a flow run

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,336)