AutomationMu Mutation

setActiveVersion

Topics: Workflows

Set the active version of a workflow. Requires workflow:write permission.

Returns

SetActiveVersionPayload!

Arguments

Workflow ID

Version ID to set as active (null to unset)

Exact field SDL
"""
Set the active version of a workflow. Requires workflow:write permission.
"""
setActiveVersion(
  """Workflow ID"""
  workflowId: WorkflowID!
  """Version ID to set as active (null to unset)"""
  versionId: WorkflowVersionID
): SetActiveVersionPayload! @topic(names: ["workflows"])

Declared on Mutation. Access is checked by the platform for each operation.