Skip to main content
Anchor to AutomationWorkflowVersionState

AutomationWorkflowVersionState

enum

The definition state of an automation version, independent of activation.

This version is a draft.

The most recently published version of the automation, whether active or inactive.

This version has been superseded by a newer version.


Was this section helpful?

•OBJECT

A version of an automation that runs tasks when a trigger event occurs. An automation can have a saved draft while another version is active. All versions share the same ID, name, and tags; configuration, note, and versionState describe the selected version.

Use automationWorkflowCreate to create a draft and automationWorkflowUpdate to edit it. Compare activeVersion with version to check whether this version is running.


Was this section helpful?