Class: WorkflowExecutionStartedEventAttributes
history.v1.WorkflowExecutionStartedEventAttributes
Always the first event in workflow history
Implements
Constructors
constructor
• new WorkflowExecutionStartedEventAttributes(properties?
): WorkflowExecutionStartedEventAttributes
Constructs a new WorkflowExecutionStartedEventAttributes.
Parameters
Name | Type | Description |
---|---|---|
properties? | IWorkflowExecutionStartedEventAttributes | Properties to set |
Returns
WorkflowExecutionStartedEventAttributes
Properties
attempt
• attempt: number
Starting at 1, the number of times we have tried to execute this workflow
Implementation of
IWorkflowExecutionStartedEventAttributes.attempt
completionCallbacks
• completionCallbacks: ICallback
[]
Completion callbacks attached when this workflow was started.
Implementation of
IWorkflowExecutionStartedEventAttributes.completionCallbacks
continuedExecutionRunId
• continuedExecutionRunId: string
Run id of the previous workflow which continued-as-new or retired or cron executed into this workflow.
Implementation of
IWorkflowExecutionStartedEventAttributes.continuedExecutionRunId
continuedFailure
• Optional
continuedFailure: null
| IFailure
WorkflowExecutionStartedEventAttributes continuedFailure.
Implementation of
IWorkflowExecutionStartedEventAttributes.continuedFailure
cronSchedule
• cronSchedule: string
If this workflow runs on a cron schedule, it will appear here
Implementation of
IWorkflowExecutionStartedEventAttributes.cronSchedule
firstExecutionRunId
• firstExecutionRunId: string
This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. Used to identify a chain.
Implementation of
IWorkflowExecutionStartedEventAttributes.firstExecutionRunId
firstWorkflowTaskBackoff
• Optional
firstWorkflowTaskBackoff: null
| IDuration
For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule.
Implementation of
IWorkflowExecutionStartedEventAttributes.firstWorkflowTaskBackoff
header
• Optional
header: null
| IHeader
WorkflowExecutionStartedEventAttributes header.
Implementation of
IWorkflowExecutionStartedEventAttributes.header
identity
• identity: string
Identity of the client who requested this execution
Implementation of
IWorkflowExecutionStartedEventAttributes.identity
inheritedBuildId
• inheritedBuildId: string
When present, this execution is assigned to the build ID of its parent or previous execution.
Implementation of
IWorkflowExecutionStartedEventAttributes.inheritedBuildId
initiator
• initiator: ContinueAsNewInitiator
WorkflowExecutionStartedEventAttributes initiator.
Implementation of
IWorkflowExecutionStartedEventAttributes.initiator
input
• Optional
input: null
| IPayloads
SDK will deserialize this and provide it as arguments to the workflow function
Implementation of
IWorkflowExecutionStartedEventAttributes.input
lastCompletionResult
• Optional
lastCompletionResult: null
| IPayloads
WorkflowExecutionStartedEventAttributes lastCompletionResult.
Implementation of
IWorkflowExecutionStartedEventAttributes.lastCompletionResult
memo
• Optional
memo: null
| IMemo
WorkflowExecutionStartedEventAttributes memo.
Implementation of
IWorkflowExecutionStartedEventAttributes.memo