TemporalWorkflow

TemporalWorkflow Type

Audience: Programmer

The TemporalWorkflow type represents a workflow instance in the Temporal workflow execution engine, providing basic identification information for the workflow.

Fields

Field
Type
Description

type

String!

The workflow type name

id

String!

Unique identifier for the workflow instance

runID

String!

Unique identifier for the specific workflow run

  • TemporalMetadata: Key-value metadata pairs (used in other contexts)

Usage Example

mutation CreateInventoryItem($input: CreateInventoryItemInput!) {
  createInventoryItem(input: $input) {
    id
    workflow {
      type
      id
      runID
    }
  }
}

JavaScript Example

Notes

  • Used across multiple services (inventory, picking, receiving, workflow)

  • Provides essential identifiers for tracking Temporal workflow execution

  • Simplified structure focuses on core identification fields

Breaking Changes

Last updated

Was this helpful?