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

9 REPLIES 9
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!

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

Are you sure about this?  When I click the delete button on the flow I get this message:

 

Deleting this flow will remove it for all owners and uninstall it for all users. Previous flow instances will continue to run to avoid data loss. This action cannot be undone.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,216)