Skip to main content

Interface: IWorkflowTaskFailedEventAttributes

history.v1.IWorkflowTaskFailedEventAttributes

Properties of a WorkflowTaskFailedEventAttributes.

Implemented by

Properties

baseRunId

Optional baseRunId: null | string

The original run id of the workflow. For reset workflow.


binaryChecksum

Optional binaryChecksum: null | string

DEPRECATED since 1.21 - use worker_version instead. If a worker explicitly failed this task, its binary id


cause

Optional cause: null | WorkflowTaskFailedCause

WorkflowTaskFailedEventAttributes cause


failure

Optional failure: null | IFailure

The failure details


forkEventVersion

Optional forkEventVersion: null | Long

TODO: ?


identity

Optional identity: null | string

If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?


newRunId

Optional newRunId: null | string

If the workflow is being reset, the new run id.


scheduledEventId

Optional scheduledEventId: null | Long

The id of the WORKFLOW_TASK_SCHEDULED event this task corresponds to


startedEventId

Optional startedEventId: null | Long

The id of the WORKFLOW_TASK_STARTED event this task corresponds to


workerVersion

Optional workerVersion: null | IWorkerVersionStamp

Version info of the worker who processed this workflow task. If present, the build_id field within is also used as binary_checksum, which may be omitted in that case (it may also be populated to preserve compatibility). Deprecated. Use the info inside the corresponding WorkflowTaskStartedEvent