Skip to main content

Interface: IWorkflowExecutionContinuedAsNewEventAttributes

history.v1.IWorkflowExecutionContinuedAsNewEventAttributes

Properties of a WorkflowExecutionContinuedAsNewEventAttributes.

Implemented by

Properties

backoffStartInterval

Optional backoffStartInterval: null | IDuration

TODO: How and is this used?


failure

Optional failure: null | IFailure

TODO: David are these right? 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.


Optional header: null | IHeader

WorkflowExecutionContinuedAsNewEventAttributes 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.


initiator

Optional initiator: null | ContinueAsNewInitiator

WorkflowExecutionContinuedAsNewEventAttributes initiator


input

Optional input: null | IPayloads

WorkflowExecutionContinuedAsNewEventAttributes input


lastCompletionResult

Optional lastCompletionResult: null | IPayloads

TODO: Is this the result of this workflow as it continued-as-new?


memo

Optional memo: null | IMemo

WorkflowExecutionContinuedAsNewEventAttributes memo


newExecutionRunId

Optional newExecutionRunId: null | string

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


searchAttributes

Optional searchAttributes: null | ISearchAttributes

WorkflowExecutionContinuedAsNewEventAttributes searchAttributes


taskQueue

Optional taskQueue: null | ITaskQueue

WorkflowExecutionContinuedAsNewEventAttributes taskQueue


workflowRunTimeout

Optional workflowRunTimeout: null | IDuration

Timeout of a single workflow run.


workflowTaskCompletedEventId

Optional workflowTaskCompletedEventId: null | Long

The WORKFLOW_TASK_COMPLETED event which this command was reported with


workflowTaskTimeout

Optional workflowTaskTimeout: null | IDuration

Timeout of a single workflow task.


workflowType

Optional workflowType: null | IWorkflowType

WorkflowExecutionContinuedAsNewEventAttributes workflowType