Skip to content

MessageDeletedEvent

EventType: MESSAGE_DELETEDDomain: collaboration Broker subject: progress.notification.message

Soft-deletes a message in a collaboration thread by setting its deleted flag. The message document is retained for audit purposes.

Trigger

Triggered by: POST /event (universal event dispatcher)

Dispatched via POST /event in backend/api/endpoints/traceability.py with event_type: MESSAGE_DELETED.

Preconditions

  • Message exists with key info.message_key

State Changes (Transaction)

Collections: Event, Issue, issue_rel, WorkOrder, Job, message

  • message updated: deleted → true

Side Effects (post_processing)

Publishes to progress.notification.message after commit.

InfoModel Fields

FieldTypeDescription
message_keystrArangoDB key of the message to delete

None.

Source

MessageDeletedEvent on GitHub

Released under the Apache 2.0 License.