Skip to content

WorkflowStartedEvent

WorkflowStartedEvent = WorkflowRunEventBase & object

Defined in: packages/core/src/observability/events.ts:54

input: unknown

optional owner?: RunOwner

Process running this run. Set by RunRecorder; omitted on events recorded before owners.

optional parentStepId?: string | null

Parent ctx.stepId at nest time, or null when nested at workflow root. Omitted on events recorded before spawn-step linking existed.

optional parentWorkflowRunId?: string | null

Immediate parent run when this invocation nested under another workflow. Omitted (or null) for top-level and { isolated: true } runs. Absent on events recorded before nested runs got their own workflowRunId.

optional replayOfRunId?: string | null

Prior run this row replays (copy); omitted when the run re-executes.

optional retriesFromRunId?: string | null

Prior root this attempt retries; set on new-attempt roots only.

optional tags?: string[]

Set from WorkflowRunStartOptions.tags. Omitted on events recorded before this field existed.

type: "workflow_started"

workflowId: string