← API reference
CANONICAL TYPE REFERENCE

WorkflowVersionState

A specific version of a workflow with its definition

Unique identifier

Parent workflow ID

Tenant ID

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

sourceXMLString

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

isValidBoolean!

Whether the workflow definition is valid

Validation errors if the workflow is invalid

Creation timestamp (ISO8601)

serializedString!

The workflow definition serialized to the requested format

Arguments (1)
formatWorkflowSerializationFormat!

Serialization format (XML, YAML or JSON)

View exact 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! @iac_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"])
  """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
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.