web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Does "Terminate" Stop ...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at

    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

  • plessor88 Profile Picture
    21 on at

    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,

  • CP153319 Profile Picture
    on at

    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".

  • Community Power Platform Member Profile Picture
    on at

    @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

  • jodarcy1 Profile Picture
    2 on at

    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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard