Class: RespondWorkflowTaskFailedRequest
workflowservice.v1.RespondWorkflowTaskFailedRequest
Represents a RespondWorkflowTaskFailedRequest.
Implements
Constructors
constructor
• new RespondWorkflowTaskFailedRequest(properties?
): RespondWorkflowTaskFailedRequest
Constructs a new RespondWorkflowTaskFailedRequest.
Parameters
Name | Type | Description |
---|---|---|
properties? | IRespondWorkflowTaskFailedRequest | Properties to set |
Returns
RespondWorkflowTaskFailedRequest
Properties
binaryChecksum
• binaryChecksum: string
DEPRECATED since 1.21 - use worker_version_stamp
instead.
Worker process' unique binary id
Implementation of
IRespondWorkflowTaskFailedRequest.binaryChecksum
cause
• cause: WorkflowTaskFailedCause
Why did the task fail? It's important to note that many of the variants in this enum cannot apply to worker responses. See the type's doc for more.
Implementation of
IRespondWorkflowTaskFailedRequest.cause
failure
• Optional
failure: null
| IFailure
Failure details
Implementation of
IRespondWorkflowTaskFailedRequest.failure
identity
• identity: string
The identity of the worker/client
Implementation of
IRespondWorkflowTaskFailedRequest.identity
messages
• messages: IMessage
[]
Protocol messages piggybacking on a WFT as a transport
Implementation of
IRespondWorkflowTaskFailedRequest.messages
namespace
• namespace: string
RespondWorkflowTaskFailedRequest namespace.
Implementation of
IRespondWorkflowTaskFailedRequest.namespace
taskToken
• taskToken: Uint8Array
The task token as received in PollWorkflowTaskQueueResponse
Implementation of
IRespondWorkflowTaskFailedRequest.taskToken
workerVersion
• Optional
workerVersion: null
| IWorkerVersionStamp
Version info of the worker who processed this task. This message's build_id
field should
always be set by SDKs. Workers opting into versioning will also set the use_versioning
field to true. See message docstrings for more.
Implementation of
IRespondWorkflowTaskFailedRequest.workerVersion