Class: ContinueAsNewWorkflowExecution
coresdk.workflow_commands.ContinueAsNewWorkflowExecution
Continue the workflow as a new execution
Implements
Constructors
constructor
• new ContinueAsNewWorkflowExecution(properties?
): ContinueAsNewWorkflowExecution
Constructs a new ContinueAsNewWorkflowExecution.
Parameters
Name | Type | Description |
---|---|---|
properties? | IContinueAsNewWorkflowExecution | Properties to set |
Returns
ContinueAsNewWorkflowExecution
Properties
arguments
• arguments: IPayload
[]
Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that typically wouldn't make any sense.
Implementation of
IContinueAsNewWorkflowExecution.arguments
headers
• headers: Object
If set, the new workflow will have these headers. Will not re-use current workflow's headers otherwise.
Index signature
▪ [k: string
]: IPayload
Implementation of
IContinueAsNewWorkflowExecution.headers
memo
• memo: Object
If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo
Index signature
▪ [k: string
]: IPayload
Implementation of
IContinueAsNewWorkflowExecution.memo
retryPolicy
• Optional
retryPolicy: null
| IRetryPolicy
If set, the new workflow will have this retry policy. If unset, re-uses the current workflow's retry policy.
Implementation of
IContinueAsNewWorkflowExecution.retryPolicy
searchAttributes
• searchAttributes: Object
If set, the new workflow will have these search attributes. If unset, re-uses the current workflow's search attributes.
Index signature
▪ [k: string
]: IPayload
Implementation of
IContinueAsNewWorkflowExecution.searchAttributes
taskQueue
• taskQueue: string
Task queue for the new workflow execution
Implementation of
IContinueAsNewWorkflowExecution.taskQueue
versioningIntent
• versioningIntent: VersioningIntent
Whether the continued workflow should run on a worker with a compatible build id or not.
Implementation of
IContinueAsNewWorkflowExecution.versioningIntent
workflowRunTimeout
• Optional
workflowRunTimeout: null
| IDuration
Timeout for a single run of the new workflow. Will not re-use current workflow's value.
Implementation of
IContinueAsNewWorkflowExecution.workflowRunTimeout