← All types
AutomationOb Object

WorkflowVersionState

A specific version of a workflow with its definition

Fields

Unique identifier

Parent workflow ID

Tenant ID

version

Int!Non-null

Version number (increments with each new version)

Workflow definition containing nodes, edges, and variables

Non-blocking findings from shared workflow validation, including inputs whose types cannot be proven statically

Original XML authoring source, when this version was authored in XML

Whether the workflow definition is valid

Validation errors if the workflow is invalid

Creation timestamp (ISO8601)

The workflow definition serialized to the requested format

Arguments (1)

Serialization format (XML, YAML or JSON)

Possible values (3)
XML

Workflow XML source

YAML

YAML format

JSON

JSON format

Referenced by (5)
Exact type SDL
"""A specific version of a workflow with its definition"""
type WorkflowVersionState {
  """Unique identifier"""
  id: WorkflowVersionID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Parent workflow ID"""
  workflowId: WorkflowID! @iac_ref(resource: "workflow")
  """Tenant ID"""
  tenantId: TenantID! @iac_computed
  """Version number (increments with each new version)"""
  version: Int! @iac_computed
  """Workflow definition containing nodes, edges, and variables"""
  definition: WorkflowDefinition! @value_validate(with: ["workflow-definition"])
  """
  Non-blocking findings from shared workflow validation, including inputs whose types cannot be proven statically
  """
  validationWarnings: [String!]! @iac_computed
  """Original XML authoring source, when this version was authored in XML"""
  sourceXML: String @iac_artifact(language: XML, validators: ["workflow-source"], models: ["workflow_document"], description: "Workflow document, including its nodes, edges and variables.")
  """Whether the workflow definition is valid"""
  isValid: Boolean! @iac_computed
  """Validation errors if the workflow is invalid"""
  validationErrors: [String!]! @iac_computed
  """Creation timestamp (ISO8601)"""
  createdAt: ISO8601! @iac_computed
  """The workflow definition serialized to the requested format"""
  serialized(
    """Serialization format (XML, YAML or JSON)"""
    format: WorkflowSerializationFormat!
  ): String! @iac_computed
}