Skip to main content

Interface: $Properties

Properties of a RespondActivityTaskFailedRequest.

Extended by​

Properties​

cause?​

optional cause?: ActivityTaskFailedCause | null

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


deployment?​

optional deployment?: $Properties | null

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.


deploymentOptions?​

optional deploymentOptions?: $Properties | null

Worker deployment options that user has set in the worker.


failure?​

optional failure?: $Properties | null

Detailed failure information


identity?​

optional identity?: string | null

The identity of the worker/client


lastHeartbeatDetails?​

optional lastHeartbeatDetails?: $Properties | null

Additional details to be stored as last activity heartbeat


namespace?​

optional namespace?: string | null

RespondActivityTaskFailedRequest namespace


resourceId?​

optional resourceId?: string | null

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


taskToken?​

optional taskToken?: Uint8Array<ArrayBufferLike> | null

The task token as received in PollActivityTaskQueueResponse


workerVersion?​

optional workerVersion?: $Properties | null

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.