Skip to main content

Interface: IRespondActivityTaskCanceledRequest

workflowservice.v1.IRespondActivityTaskCanceledRequest

Properties of a RespondActivityTaskCanceledRequest.

Implemented by

Properties

deployment

Optional deployment: null | IDeployment

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


details

Optional details: null | IPayloads

Serialized additional information to attach to the cancellation


identity

Optional identity: null | string

The identity of the worker/client


namespace

Optional namespace: null | string

RespondActivityTaskCanceledRequest namespace


taskToken

Optional taskToken: null | Uint8Array

The task token as received in PollActivityTaskQueueResponse


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