cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chiccodeb
New Member

how to stop a flow run from another flow?

It's possible stop the run of a flow from another flow?

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

The disable Flow as Admin will keep new instances of the flow from starting, but won't do anything to currently running flows.  And Terminate assumes that you are stopping the current flow instance.  There is no provision for pointing it at something else.  I'm not aware of any way to programmatically stop a specific instance of a flow from a flow. I'm not sure its even possible using the PowerShell commands.  It can be done one flow at a time from the status page in Power Automate.

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

6 REPLIES 6
abm
Super User
Super User

Hi @chiccodeb 

 

There is a disable flow action step but not sure how this affects when its running. 

image.png

 

Also there is a terminate Flow action step where you can terminate the flow during the run.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Pstork1
Dual Super User
Dual Super User

The disable Flow as Admin will keep new instances of the flow from starting, but won't do anything to currently running flows.  And Terminate assumes that you are stopping the current flow instance.  There is no provision for pointing it at something else.  I'm not aware of any way to programmatically stop a specific instance of a flow from a flow. I'm not sure its even possible using the PowerShell commands.  It can be done one flow at a time from the status page in Power Automate.

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

my problem is another: the flow has more runs active and i have to stop only one specific run.

For this problem i suppose ther's no solution.

is there an update to this? what if someone runs a flow and then they want to cancel it? is there no  way to make a flow that can stop/ end currently running flows?

The maker can cancel an individual flow run from the details of the flow itself.  But I don't know any way to do this without using the User Interface.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
elias1502
Regular Visitor

You can add a parallel branch with a "Do Until" that reads a field having the function to stop the flow previously saved on a variable (yes / no column on SP) after this branch get reached your flow is going to terminate with any rules that you put there.

The inconvenient here is that you have to wait until the Do Until get reached but it’s the best approach that I created for this.

 

elias1502_0-1670870380910.png

 

elias1502_1-1670870529896.png

 

 

 

 

Helpful resources

Top Solution Authors
Users online (3,778)