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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,763)