It's possible stop the run of a flow from another flow?
Solved! Go to Solution.
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.
Hi @chiccodeb
There is a disable flow action step but not sure how this affects when its running.
Also there is a terminate Flow action step where you can terminate the flow during the run.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThe 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.
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.
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.
User | Count |
---|---|
89 | |
37 | |
26 | |
13 | |
12 |
User | Count |
---|---|
128 | |
53 | |
38 | |
26 | |
21 |