Skip to main content

Interface: $Properties

v1.ActivityTaskStartedEventAttributes.$Properties

Properties of an ActivityTaskStartedEventAttributes.

Hierarchy​

Properties​

attempt​

• Optional attempt: null | number

Starting at 1, the number of times this task has been attempted


buildIdRedirectCounter​

• Optional buildIdRedirectCounter: null | Long

Used by server internally to properly reapply build ID redirects to an execution when rebuilding it from events. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]


identity​

• Optional identity: null | string

id of the worker that picked up this task


lastFailure​

• Optional lastFailure: null | $Properties

Will be set to the most recent failure details, if this task has previously failed and then been retried.


requestId​

• Optional requestId: null | string

This field is populated from the RecordActivityTaskStartedRequest. Matching service would set the request_id on the RecordActivityTaskStartedRequest to a new UUID. This is useful in case a RecordActivityTaskStarted call succeed but matching doesn't get that response, so matching could retry and history service would return success if the request_id matches. In that case, matching will continue to deliver the task to worker. Without this field, history service would return AlreadyStarted error, and matching would drop the task.


scheduledEventId​

• Optional scheduledEventId: null | Long

The id of the ACTIVITY_TASK_SCHEDULED event this task corresponds to


workerVersion​

• Optional workerVersion: null | $Properties

Version info of the worker to whom this task was dispatched. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]