Class: ActivityTaskFailedEventAttributes
history.v1.ActivityTaskFailedEventAttributes
Represents an ActivityTaskFailedEventAttributes.
Properties
failure
• Optional failure: null | $Properties
Failure details
identity
• identity: string
id of the worker that failed this task
retryState
• retryState: RetryState
ActivityTaskFailedEventAttributes retryState.
scheduledEventId
• scheduledEventId: Long
The id of the ACTIVITY_TASK_SCHEDULED event this failure corresponds to
startedEventId
• startedEventId: Long
The id of the ACTIVITY_TASK_STARTED event this failure corresponds to
workerVersion
• Optional workerVersion: null | $Properties
Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
Methods
toJSON
▸ toJSON(): Object
Converts this ActivityTaskFailedEventAttributes to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ActivityTaskFailedEventAttributes & $Shape
Creates a new ActivityTaskFailedEventAttributes instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | $Shape | Properties to set |
Returns
ActivityTaskFailedEventAttributes & $Shape
ActivityTaskFailedEventAttributes instance