Interface: WorkflowInfoSnapshot
What a task knows about its run (C-ABI WorkflowInfoSnapshot). From SDK R2
the runtime reads workflowId, runAttempt, lastResult, lastFailure,
summary, details, the memo (context), the timeouts, retry,
priority and versioningBehavior from WORKFLOW_STARTED when the event
carries them, so a replay sees what the first execution saw; the lease
values here are the fallback for histories written before R2.
Extended by
Properties
attempt?
optionalattempt?:number
Run-level retry attempt, 1-based (same value as runAttempt).
buildId?
optionalbuildId?:string
businessId?
optionalbusinessId?:string
The column name of the workflow id (11 §2.1).
context?
optionalcontext?:JsonObject
The run's memo (11 §2.22); memo is the same value under its Temporal name.
continuedFromRunId?
optionalcontinuedFromRunId?:string
details?
optionaldetails?:string
fairnessKey?
optionalfairnessKey?:string
Fairness of the run's tasks (11 §2.11).
fairnessWeight?
optionalfairnessWeight?:number
firstRunId?
optionalfirstRunId?:string
headers?
optionalheaders?:Headers
historyLimit?
optionalhistoryLimit?:HistoryLimit
lastFailure?
optionallastFailure?:Failure
lastResult?
optionallastResult?:Json
memo?
optionalmemo?:JsonObject
parentRunId?
optionalparentRunId?:string
priority?
optionalpriority?:number
retry?
optionalretry?:RunRetryPolicy
The run-level retry policy of the chain.
rootRunId?
optionalrootRunId?:string
runAttempt?
optionalrunAttempt?:number
Run-level retry attempt, 1-based (11 §2.17).
runId
runId:
string
runStartedAt?
optionalrunStartedAt?:string
searchAttributes?
optionalsearchAttributes?:JsonObject
The run's search attributes at the start (11 §2.8).
startedAt?
optionalstartedAt?:string
summary?
optionalsummary?:string
taskQueue?
optionaltaskQueue?:string
timeouts?
optionaltimeouts?:object
executionTimeout?
optionalexecutionTimeout?:number
runTimeout?
optionalrunTimeout?:number
workflowTaskTimeout?
optionalworkflowTaskTimeout?:number
version?
optionalversion?:string|number
versioningBehavior?
optionalversioningBehavior?:"PINNED"|"AUTO_UPGRADE"
workflowId?
optionalworkflowId?:string
The caller-chosen workflow id (businessId), else the first run's id.
workflowKey?
optionalworkflowKey?:string
workspaceId
workspaceId:
string