Emitted when an activity task fails after exhausting all retry attempts.
This is a terminal event indicating the activity could not complete successfully.
| Field | Type | Required | Description |
|---|---|---|---|
event_id |
str | ✔️ | Unique identifier for this event instance. |
event_timestamp |
int | ✔️ | Unix timestamp in nanoseconds when the event was created. |
root_workflow_exec_id |
str | ✔️ | Execution ID of the root workflow that initiated this execution chain. |
parent_workflow_exec_id |
Nullable[str] | ✔️ | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. |
workflow_exec_id |
str | ✔️ | Execution ID of the workflow that emitted this event. |
workflow_run_id |
str | ✔️ | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. |
workflow_name |
str | ✔️ | The registered name of the workflow that emitted this event. |
event_type |
Optional[Literal["ACTIVITY_TASK_FAILED"]] | ➖ | Event type discriminator. |
attributes |
models.ActivityTaskFailedAttributes | ✔️ | Attributes for activity task failed events (final failure after all retries). |