cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CP153319
Helper V
Helper V

Does "Terminate" Stop the whole flow.... or just a branch of it?

Does the terminate control end the flow no matter where it is? Or, can you use it to only terminate a branch of the flow (say you have a branch set up to send a reminder Email if a condition if not met... if the condition is met you'd want to "terminate" that reminder branch of the flow but leave the rest of the flow to continue). 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @CP153319,

 

Do you want to stop a branch of your flow using the "Terminate" action?

 

I have made a test on my side, the "Terminate" action would end the whole flow no matter where it is. If you want to stop a branch of your flow, 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

 

Best regards,

Kris

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

View solution in original post

5 REPLIES 5
v-xida-msft
Community Support
Community Support

Hi @CP153319,

 

Do you want to stop a branch of your flow using the "Terminate" action?

 

I have made a test on my side, the "Terminate" action would end the whole flow no matter where it is. If you want to stop a branch of your flow, 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

 

Best regards,

Kris

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

I have been experiencing different results.

I have a flow that uses a terminate if a condition is true.

The flow analyzer shows that all subsequent actions are "cancelled" and they appear with an "x" next to them.  The weird thing is that they all still EXECUTE.

 

All the remaining steps in the flow run, even though the flow analyzer shows them as not running.

 

I know this because I receive emails and see the results of subsequent actions like "Create Task" and "Update Item" that supposedly did not run.

 

Any comment on this?

Thanks,

That is really interesting. Maybe try setting the "Terminate" function choices to "Failed" and then configure the next action after it to run only if the Terminate action "Succeeded".

Anonymous
Not applicable

@v-xida-msft 

I would assume that a delay would work just fine:

Circumstance A: They want the whole flow to stop so terminate will work

Circumstance B: They want a branch to stop while the rest of the flow completes - here a delay on this branch and a terminate on the other 'finishing' branches would work

 

If they wanted to play around they could technically delay till the flow times out (30 days) but that's pretty inefficient and will take some of the capacity of the flows. Adding a function to kill one branch is pretty low priority considering how many other things we desperately want in power automate xD

I had the same issue so I had to put a Terminate action at the end on both branches in my flow.  However, although one branch shows all completed the other branch shows the first action still running (or waiting) even though the entire flow has completed.  Should I be concerned re this or does the waiting action stop eventually?

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,145)