Anchor to automationWorkflowActivateautomation
mutationautomation Workflow Activate
Requires access scope. Also: The app must have write access to automations and act on behalf of a user.
Activates a specific automation version. Activating the currently active version succeeds without making changes, even when a newer draft exists.
Anchor to Arguments
Arguments
- id (ID!)
- version (String!)
- •ID!required
The ID of the automation to activate.
- Anchor to versionversion•String!required
The version to activate. Must be the latest draft or the most recently published version. Activating the published version keeps any newer draft.
Was this section helpful?
- automationWorkflow (AutomationWorkflow)
- userErrors ([AutomationWorkflowUserError!]!)
- Anchor to automationWorkflowautomation•Automation
Workflow Workflow The automation after activation. Returns
nullif an error is raised.Show fields
- Anchor to userErrorsuser•[Automation
Errors Workflow User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?