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

PropertyDescriptionValuesMandatory
keyUnique key of the automation rule.stringYes
nameName of the asset, used as the default EN translation.stringYes
actionActions the automation will execute when all conditions and rules are satisfied.arrayNo
descriptionDescription of the rule.stringNo
sortOrderOrder of the rule execution.integerNo
stateCurrent status of the rule. See supported state values.stringNo
streamAutomation conditions, selections, and filters.arrayNo
triggersTriggers of the automation rule.arrayNo

Supported state values

ValueDescription
activeThe rule is active.
inactiveThe 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.