Skip to main content

Interface: RunCreateCommand

Defined in: packages/workflow-engine/src/kernel/commands.ts:37

Creates a new workflow run.

Properties​

annotations?​

readonly optional annotations?: readonly RunCreateAnnotation[]

Defined in: packages/workflow-engine/src/kernel/commands.ts:49

Annotations to attach at run creation time. Each entry becomes one row per attribute, sharing the supplied envelope (actor / payload / idempotencyKey). Written inside the same transaction as the run.


config?​

readonly optional config?: Record<string, unknown>

Defined in: packages/workflow-engine/src/kernel/commands.ts:42


idempotencyKey​

readonly idempotencyKey: string

Defined in: packages/workflow-engine/src/kernel/commands.ts:39


input​

readonly input: Record<string, unknown>

Defined in: packages/workflow-engine/src/kernel/commands.ts:41


priority?​

readonly optional priority?: number

Defined in: packages/workflow-engine/src/kernel/commands.ts:43


type​

readonly type: "run.create"

Defined in: packages/workflow-engine/src/kernel/commands.ts:38


workflowId​

readonly workflowId: string

Defined in: packages/workflow-engine/src/kernel/commands.ts:40