Skip to main content

Interface: IWorkflowExecutionContinuedAsNewEventAttributes

history.v1.IWorkflowExecutionContinuedAsNewEventAttributes

Properties of a WorkflowExecutionContinuedAsNewEventAttributes.

Hierarchy

  • $Properties

    IWorkflowExecutionContinuedAsNewEventAttributes

Properties

backoffStartInterval

Optional backoffStartInterval: null | $Properties

How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose.

Inherited from

$Properties.backoffStartInterval


failure

Optional failure: null | $Properties

Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be WORKFLOW_EXECUTION_FAILED with new_execution_run_id set.

Inherited from

$Properties.failure


Optional header: null | $Properties

WorkflowExecutionContinuedAsNewEventAttributes header

Inherited from

$Properties.header


inheritBuildId

Optional inheritBuildId: null | boolean

If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. Deprecated. Only considered for versioning v0.2.

Inherited from

$Properties.inheritBuildId


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


initiator

Optional initiator: null | ContinueAsNewInitiator

WorkflowExecutionContinuedAsNewEventAttributes initiator

Inherited from

$Properties.initiator


input

Optional input: null | $Properties

WorkflowExecutionContinuedAsNewEventAttributes input

Inherited from

$Properties.input


lastCompletionResult

Optional lastCompletionResult: null | $Properties

The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as GetLastCompletionResult.

Inherited from

$Properties.lastCompletionResult


memo

Optional memo: null | $Properties

WorkflowExecutionContinuedAsNewEventAttributes memo

Inherited from

$Properties.memo


newExecutionRunId

Optional newExecutionRunId: null | string

The run ID of the new workflow started by this continue-as-new

Inherited from

$Properties.newExecutionRunId


searchAttributes

Optional searchAttributes: null | $Properties

WorkflowExecutionContinuedAsNewEventAttributes searchAttributes

Inherited from

$Properties.searchAttributes


taskQueue

Optional taskQueue: null | $Properties

WorkflowExecutionContinuedAsNewEventAttributes taskQueue

Inherited from

$Properties.taskQueue


workflowRunTimeout

Optional workflowRunTimeout: null | $Properties

Timeout of a single workflow run.

Inherited from

$Properties.workflowRunTimeout


workflowTaskCompletedEventId

Optional workflowTaskCompletedEventId: null | Long

The WORKFLOW_TASK_COMPLETED event which this command was reported with

Inherited from

$Properties.workflowTaskCompletedEventId


workflowTaskTimeout

Optional workflowTaskTimeout: null | $Properties

Timeout of a single workflow task.

Inherited from

$Properties.workflowTaskTimeout


workflowType

Optional workflowType: null | $Properties

WorkflowExecutionContinuedAsNewEventAttributes workflowType

Inherited from

$Properties.workflowType