Skip to main content

Interface: IRespondActivityTaskFailedRequest

workflowservice.v1.IRespondActivityTaskFailedRequest

Properties of a RespondActivityTaskFailedRequest.

Hierarchy​

Properties​

cause​

• Optional cause: null | ActivityTaskFailedCause

Why did the task fail? When unset, the failure is treated as an unspecified activity failure.

Inherited from​

$Properties.cause


deployment​

• Optional deployment: null | $Properties

Deployment info of the worker that completed this task. Must be present if user has set WorkerDeploymentOptions regardless of versioning being enabled or not. Deprecated. Replaced with deployment_options.

Inherited from​

$Properties.deployment


deploymentOptions​

• Optional deploymentOptions: null | $Properties

Worker deployment options that user has set in the worker.

Inherited from​

$Properties.deploymentOptions


failure​

• Optional failure: null | $Properties

Detailed failure information

Inherited from​

$Properties.failure


identity​

• Optional identity: null | string

The identity of the worker/client

Inherited from​

$Properties.identity


lastHeartbeatDetails​

• Optional lastHeartbeatDetails: null | $Properties

Additional details to be stored as last activity heartbeat

Inherited from​

$Properties.lastHeartbeatDetails


namespace​

• Optional namespace: null | string

RespondActivityTaskFailedRequest namespace

Inherited from​

$Properties.namespace


resourceId​

• Optional resourceId: null | string

Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.

Inherited from​

$Properties.resourceId


taskToken​

• Optional taskToken: null | Uint8Array

The task token as received in PollActivityTaskQueueResponse

Inherited from​

$Properties.taskToken


workerVersion​

• Optional workerVersion: null | $Properties

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. Deprecated. Use deployment_options instead.

Inherited from​

$Properties.workerVersion