WorkflowStartedEvent
WorkflowStartedEvent =
WorkflowRunEventBase&object
Defined in: packages/core/src/observability/events.ts:54
Type Declaration
Section titled “Type Declaration”input:
unknown
owner?
Section titled “owner?”
optionalowner?:RunOwner
Process running this run. Set by RunRecorder; omitted on events recorded before owners.
parentStepId?
Section titled “parentStepId?”
optionalparentStepId?:string|null
Parent ctx.stepId at nest time, or null when nested at workflow root.
Omitted on events recorded before spawn-step linking existed.
parentWorkflowRunId?
Section titled “parentWorkflowRunId?”
optionalparentWorkflowRunId?: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.
replayOfRunId?
Section titled “replayOfRunId?”
optionalreplayOfRunId?:string|null
Prior run this row replays (copy); omitted when the run re-executes.
retriesFromRunId?
Section titled “retriesFromRunId?”
optionalretriesFromRunId?:string|null
Prior root this attempt retries; set on new-attempt roots only.
optionaltags?:string[]
Set from WorkflowRunStartOptions.tags. Omitted on events recorded before this field existed.
type:
"workflow_started"
workflowId
Section titled “workflowId”workflowId:
string