Skip to main content

Interface: IActivityTaskStartedEventAttributes

history.v1.IActivityTaskStartedEventAttributes

Properties of an ActivityTaskStartedEventAttributes.

Hierarchy

Properties

attempt

Optional attempt: null | number

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

Inherited from

$Properties.attempt


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]

Inherited from

$Properties.buildIdRedirectCounter


identity

Optional identity: null | string

id of the worker that picked up this task

Inherited from

$Properties.identity


lastFailure

Optional lastFailure: null | $Properties

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

Inherited from

$Properties.lastFailure


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.

Inherited from

$Properties.requestId


scheduledEventId

Optional scheduledEventId: null | Long

The id of the ACTIVITY_TASK_SCHEDULED event this task corresponds to

Inherited from

$Properties.scheduledEventId


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]

Inherited from

$Properties.workerVersion