Skip to main content

Interface: IContinueAsNewWorkflowExecution

coresdk.workflow_commands.IContinueAsNewWorkflowExecution

Properties of a ContinueAsNewWorkflowExecution.

Hierarchy

Properties

arguments

Optional arguments: null | $Properties[]

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

Inherited from

$Properties.arguments


backoffStartInterval

Optional backoffStartInterval: null | $Properties

Delay before the first workflow task of the continued run is scheduled.

Inherited from

$Properties.backoffStartInterval


headers

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

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

Inherited from

$Properties.headers


initialVersioningBehavior

Optional initialVersioningBehavior: null | ContinueAsNewVersioningBehavior

Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.

Inherited from

$Properties.initialVersioningBehavior


memo

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

If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo

Inherited from

$Properties.memo


retryPolicy

Optional retryPolicy: null | $Properties

If set, the new workflow will have this retry policy. If unset, re-uses the current workflow's retry policy.

Inherited from

$Properties.retryPolicy


searchAttributes

Optional searchAttributes: null | $Properties

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

Inherited from

$Properties.searchAttributes


taskQueue

Optional taskQueue: null | string

Task queue for the new workflow execution

Inherited from

$Properties.taskQueue


versioningIntent

Optional versioningIntent: null | VersioningIntent

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

Inherited from

$Properties.versioningIntent


workflowRunTimeout

Optional workflowRunTimeout: null | $Properties

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

Inherited from

$Properties.workflowRunTimeout


workflowTaskTimeout

Optional workflowTaskTimeout: null | $Properties

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

Inherited from

$Properties.workflowTaskTimeout


workflowType

Optional workflowType: null | string

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

Inherited from

$Properties.workflowType