What are Exit Conditions, and how do they work?
Exit Conditions are preset rules that end an automation when any one of them becomes true.
Treat them as a safety switch that can stop a run regardless of where it is in the flow.
How Exit Conditions work
- Exit Conditions are preset at the automation level and evaluated continuously while the run is active.
- When any exit condition becomes true, the current run stops immediately.
- You can add multiple preset rules; they are checked in parallel during execution.
FYERS Web
- Open your automation on the canvas.
- Click Exit conditions on the top bar.
- Add one or more preset rules (for example: P&L threshold, order status, symbol attributes, time window).
- Save. The run will stop the moment any of the rules becomes true.
Notes
- Exit Conditions stop the run only. If you also want positions closed, place a Square off action before your stop points or handle exits operationally.
- Keep presets simple and decisive—use the minimum number of rules needed to express your exit logic.
What If...
| Scenario | Outcome |
|---|
| I add multiple preset rules | The automation stops when any one rule is met. |
| A preset rule becomes true mid-execution | The run stops immediately; remaining nodes do not execute. |
| I also need open positions closed when stopping | Add a Square off node before the stop point, or close positions operationally. |
Last updated: 22 Dec 2025
Related Articles
When should I use OR, and how does it evaluate multiple conditions?
OR is a Condition type in FYERS Automate that allows your automation to move forward when at least one of the added conditions becomes true. You should use OR when you want your strategy to react to multiple possible scenarios, but it is enough for ...
How Do Mail Alerts Work, and What Inputs Are Required?
The mail alert action in Automate sends an email notification when an automation reaches a specific step. It is used to notify you about important automation events, signals, or conditions via email. This action is informational only and does not ...
How Does Square Off Work for Closing Positions From This Automation or Across the Account?
The square off action in Automate is used to exit open positions when an automation reaches a specific trigger, condition, or exit path. Depending on the selected action type, it can close only positions created by the current automation or positions ...
When should I use AND, and how does it require all conditions to be true?
When you use an AND condition in FYERS Automate, you are telling the system that all added conditions must be true before the automation can move forward. When you click “Click here to add nodes” inside an AND block, Automate shows you the list of ...
How does a Webhook trigger work, and when should I use it?
A Webhook trigger is a Trigger type in FYERS Automate. It allows your automation to move forward when it receives a signal from an external system, instead of waiting for a price or time-based condition. This trigger does not place orders by itself. ...