Property description
The automations property defines your automation rules. Multiple rules can be configured in one JSON file, but one rule per file is recommended for easier management.
Minimal JSON
{
"schema": "https://schema.dawiso.com/automation-schema.json",
"automations": [
{
"key": "",
"name": ""
}
]
}
Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the automation rule. | string | Yes |
name | Name of the asset, used as the default EN translation. | string | Yes |
action | Actions the automation will execute when all conditions and rules are satisfied. | array | No |
description | Description of the rule. | string | No |
sortOrder | Order of the rule execution. | integer | No |
state | Current status of the rule. See supported state values. | string | No |
stream | Automation conditions, selections, and filters. | array | No |
triggers | Triggers of the automation rule. | array | No |
Supported state values
| Value | Description |
|---|---|
active | The rule is active. |
inactive | The rule is inactive and hidden. |
Circuit-breaker
Automation rules include a built-in circuit-breaker. If a rule fails 3 consecutive times, it is automatically disabled. The task log records: “Circuit breaker tripped: the last 3 runs failed. The automation has been disabled and must be re-enabled manually.”
To re-enable the rule, open it and toggle it back on. The failure threshold can be adjusted per environment in the environment configuration (env_config).
A run of a callRestApi action in which every object failed, or which stopped at a connection-level failure, is still reported as Success. Such a run does not count as a failed run here, so these failures are visible only in the run log.