TaskSuspendedEvent
EventType: TASK_SUSPENDEDDomain: collaboration Broker subject: progress.notification.task
Suspends an open task by setting its status → SUSPENDED. Suspended tasks can be reopened via TaskReopenedEvent.
Trigger
Triggered by: POST /event (universal event dispatcher)
Dispatched via POST /event in backend/api/endpoints/traceability.py with event_type: TASK_SUSPENDED.
Preconditions
- Task exists with key
info.task_key - Task
statusisOPENorIN_PROGRESS
State Changes (Transaction)
Collections: Task
Taskupdated:status → SUSPENDED
Side Effects (post_processing)
Publishes to progress.notification.task after commit.
InfoModel Fields
| Field | Type | Description |
|---|---|---|
task_key | str | ArangoDB key of the task to suspend |
Related Events
None.