Circuit Breakers
A circuit breaker is a safety limit for an individual workflow. It stops new runs from starting after the workflow reaches a configured number of starts within a time interval. Use it to contain repeated or unexpectedly frequent workflow activity while you investigate.
Circuit breakers apply to new starts only. They do not cancel runs that are already in progress, and they do not evaluate whether previous runs succeeded or failed.
Before you begin
You need permission to administer workflows. Configure and manage circuit breakers from Automation > Workflow Management.
The Workflow Management table shows each workflow’s Breaker Threshold and Breaker Status:
To find workflows without a circuit breaker, select No Breaker in the Breaker Status filter.
Configure a circuit breaker
- In Workflow Management, find the workflow to protect.
- In the Circuit Breaker actions, select Add Circuit Breaker.
- Enter a positive Threshold and an Interval, such as
5starts in1h. - Optionally select Auto-reset after interval.
- Enter a reason for the change and select Add.
For example, a threshold of 5 and an interval of 1 hour permits five starts. The next start during that interval trips the breaker and is blocked, along with later start attempts until the breaker is reset.
Choose a threshold that accounts for expected operational activity, including manually started and automatically triggered runs. The breaker does not look at success or failure, so a healthy workflow can still trip it if it is started too often.
Respond to a tripped breaker
When a breaker is tripped, first investigate why the workflow started so frequently. Confirm that it is safe to resume before allowing more runs.
If Auto-reset after interval is disabled:
- In Workflow Management, find the tripped workflow.
- Select Reset breaker.
- Confirm the reset.
The reset allows new workflow starts again. It does not cancel any current runs.
If auto-reset is enabled, the breaker resets when a new start is attempted after the configured interval has elapsed. It is not a background timer that resets at an exact time. You can also reset a tripped breaker manually after the underlying issue is addressed.
Change or remove a breaker
Use Edit breaker to adjust the threshold, interval, or auto-reset setting. Use Remove breaker when the workflow no longer needs this safeguard. Both actions require a reason so the change is recorded for operational review.
Circuit breaker or disable workflow?
Disabling a workflow does not remove its circuit-breaker configuration. If an active run is harmful or unsafe, cancel it separately according to your operating procedure.