# How to Implement Branching Conditions in Neutrinos Reels to Stop Subsequent Execution if Conditions Are Not Met

**URL:** https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205
**Category:** Training, Academy & Certifications
**Tags:** neutrinos-reels, cohort-1-nov-2024
**Created:** [December 6, 2024, 9:51am UTC](https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205 "2024-12-06T09:51:43Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![neethu.sa](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/n/e68b1a/32.png) [@neethu.sa](https://community.neutrinos.com/u/neethu.sa)
#### Post date: [December 6, 2024, 9:51am UTC](https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205/1 "2024-12-06T09:51:43Z")

</div>

Hi Neutrinos Community,

I’m working with Neutrinos Reels and need help with implementing branching logic within my workflow. Specifically, I want to evaluate certain conditions, and if they are not met, I need to stop the subsequent execution of the workflow. Is there a way to set up branching conditions and halt the workflow if the conditions are not satisfied?

---

<div class="post-metadata">

### Author: ![Muhammed\_Sinan](https://community.neutrinos.com/user_avatar/community.neutrinos.com/muhammed_sinan/32/44_2.png) [@Muhammed\_Sinan](https://community.neutrinos.com/u/Muhammed_Sinan)
#### Post date: [December 6, 2024, 10:07am UTC](https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205/2 "2024-12-06T10:07:56Z")

</div>

You can add a condition by double-clicking on an edge (connector link). Provide a name for the condition to easily identify it, select the operands and operator based on your requirements, and save the condition. Finally, save the workflow to deploy the changes.

---

<div class="post-metadata">

### Author: ![neethu.sa](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/n/e68b1a/32.png) [@neethu.sa](https://community.neutrinos.com/u/neethu.sa)
#### Post date: [December 6, 2024, 10:24am UTC](https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205/3 "2024-12-06T10:24:52Z")

</div>

I tried adding a condition by double-clicking on the edge (connector link), providing a name, selecting the operands and operator, and saving the condition. While this successfully evaluates the condition, if it’s not satisfied, it only skips the very next rule in the workflow and continues executing the others.

My requirement is to completely stop the execution of the subsequent rules if the condition is not met. Is there a way to achieve this?

---

<div class="post-metadata">

### Author: ![Muhammed\_Sinan](https://community.neutrinos.com/user_avatar/community.neutrinos.com/muhammed_sinan/32/44_2.png) [@Muhammed\_Sinan](https://community.neutrinos.com/u/Muhammed_Sinan)
#### Post date: [December 6, 2024, 10:26am UTC](https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205/4 "2024-12-06T10:26:31Z")

</div>

Please share a screenshot of you flow

---

<div class="post-metadata">

### Author: ![neethu.sa](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/n/e68b1a/32.png) [@neethu.sa](https://community.neutrinos.com/u/neethu.sa)
#### Post date: [December 6, 2024, 10:30am UTC](https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205/5 "2024-12-06T10:30:09Z")

</div>

![Screenshot 2024-12-06 155741](https://community.neutrinos.com/uploads/default/original/1X/61003a3d773b1ff05da330094395eff6809d3613.png)

If the condition evaluates to STP, I want to completely stop the subsequent execution of the workflow, particularly for determining the premium.

---

<div class="post-metadata">

### Author: ![Muhammed\_Sinan](https://community.neutrinos.com/user_avatar/community.neutrinos.com/muhammed_sinan/32/44_2.png) [@Muhammed\_Sinan](https://community.neutrinos.com/u/Muhammed_Sinan)
#### Post date: [December 6, 2024, 11:21am UTC](https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205/6 "2024-12-06T11:21:09Z")

</div>

Please share the workflow which includes the condition.

---

<div class="post-metadata">

### Author: ![neethu.sa](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/n/e68b1a/32.png) [@neethu.sa](https://community.neutrinos.com/u/neethu.sa)
#### Post date: [December 6, 2024, 11:51am UTC](https://community.neutrinos.com/t/how-to-implement-branching-conditions-in-neutrinos-reels-to-stop-subsequent-execution-if-conditions-are-not-met/205/7 "2024-12-06T11:51:12Z")

</div>

I resolved the issue by separating the rules. I created individual rules for the knockout conditions and non-STP conditions first. Then, I consolidated all condition checks into a single rule. Finally, I placed this Premium Eligibility Check rule immediately before the premium calculation step. This allowed me to implement the branching condition successfully and stop subsequent execution when necessary.
