Skip to main content

Interface: IContinueAsNewWorkflowExecution

coresdk.workflow_commands.IContinueAsNewWorkflowExecution

Properties of a ContinueAsNewWorkflowExecution.

Implemented by

Properties

arguments

Optional arguments: null | IPayload[]

Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that typically wouldn't make any sense.


headers

Optional headers: null | { [k: string]: IPayload; }

If set, the new workflow will have these headers. Will not re-use current workflow's headers otherwise.


memo

Optional memo: null | { [k: string]: IPayload; }

If set, the new workflow will have this memo. If unset, re-uses the current workflow's 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.


searchAttributes

Optional searchAttributes: null | { [k: string]: IPayload; }

If set, the new workflow will have these search attributes. If unset, re-uses the current workflow's search attributes.


taskQueue

Optional taskQueue: null | string

Task queue for the new workflow execution


versioningIntent

Optional versioningIntent: null | VersioningIntent

Whether the continued workflow should run on a worker with a compatible build id or not.


workflowRunTimeout

Optional workflowRunTimeout: null | IDuration

Timeout for a single run of the new workflow. Will not re-use current workflow's value.


workflowTaskTimeout

Optional workflowTaskTimeout: null | IDuration

Timeout of a single workflow task. Will not re-use current workflow's value.


workflowType

Optional workflowType: null | string

The identifier the lang-specific sdk uses to execute workflow code