Skip to content

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 status is OPEN or IN_PROGRESS

State Changes (Transaction) ​

Collections: Task

  • Task updated: status → SUSPENDED

Side Effects (post_processing) ​

Publishes to progress.notification.task after commit.

InfoModel Fields ​

FieldTypeDescription
task_keystrArangoDB key of the task to suspend

None.

Source ​

TaskSuspendedEvent on GitHub

Released under the Apache 2.0 License.