Skip to main content

Interface: IWorkflowTaskCompletedEventAttributes

history.v1.IWorkflowTaskCompletedEventAttributes

Properties of a WorkflowTaskCompletedEventAttributes.

Implemented by

Properties

binaryChecksum

Optional binaryChecksum: null | string

Binary ID of the worker who completed this task


deployment

Optional deployment: null | IDeployment

The deployment that completed this task. May or may not be set for unversioned workers, depending on whether a value is sent by the SDK. This value updates workflow execution's versioning_info.deployment. Deprecated. Replaced with worker_deployment_version.


identity

Optional identity: null | string

Identity of the worker who completed this task


meteringMetadata

Optional meteringMetadata: null | IMeteringMetadata

Local usage data sent during workflow task completion and recorded here for posterity


scheduledEventId

Optional scheduledEventId: null | Long

The id of the WORKFLOW_TASK_SCHEDULED event this task corresponds to


sdkMetadata

Optional sdkMetadata: null | IWorkflowTaskCompletedMetadata

Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.


startedEventId

Optional startedEventId: null | Long

The id of the WORKFLOW_TASK_STARTED event this task corresponds to


versioningBehavior

Optional versioningBehavior: null | VersioningBehavior

Versioning behavior sent by the worker that completed this task for this particular workflow execution. UNSPECIFIED means the task was completed by an unversioned worker. This value updates workflow execution's versioning_info.behavior.


workerDeploymentName

Optional workerDeploymentName: null | string

The name of Worker Deployment that completed this task. Must be set if versioning_behavior is set. This value updates workflow execution's worker_deployment_name. Experimental. Worker Deployments are experimental and might significantly change in the future.


workerDeploymentVersion

Optional workerDeploymentVersion: null | string

The Worker Deployment Version that completed this task. Must be set if versioning_behavior is set. This value updates workflow execution's versioning_info.version. Experimental. Worker Deployments are experimental and might significantly change in the future.


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 deployment and versioning_behavior instead.