Emitted when an activity task begins execution.
This is the first event for an activity, emitted on the first attempt only. Subsequent retry attempts emit ACTIVITY_TASK_RETRYING instead.
| 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_STARTED"]] | ➖ | Event type discriminator. |
attributes |
models.ActivityTaskStartedAttributesResponse | ✔️ | Attributes for activity task started events. |