Class: ActivityTaskStartedEventAttributes
history.v1.ActivityTaskStartedEventAttributes
Represents an ActivityTaskStartedEventAttributes.
Implements
Constructors
constructor
• new ActivityTaskStartedEventAttributes(properties?
): ActivityTaskStartedEventAttributes
Constructs a new ActivityTaskStartedEventAttributes.
Parameters
Name | Type | Description |
---|---|---|
properties? | IActivityTaskStartedEventAttributes | Properties to set |
Returns
ActivityTaskStartedEventAttributes
Properties
attempt
• attempt: number
Starting at 1, the number of times this task has been attempted
Implementation of
IActivityTaskStartedEventAttributes.attempt
buildIdRedirectCounter
• buildIdRedirectCounter: Long
Used by server internally to properly reapply build ID redirects to an execution when rebuilding it from events.
Implementation of
IActivityTaskStartedEventAttributes.buildIdRedirectCounter
identity
• identity: string
id of the worker that picked up this task
Implementation of
IActivityTaskStartedEventAttributes.identity
lastFailure
• Optional
lastFailure: null
| IFailure
Will be set to the most recent failure details, if this task has previously failed and then been retried.
Implementation of
IActivityTaskStartedEventAttributes.lastFailure