Skip to content

MessagePostedEvent

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

Inserts a new message in a collaboration thread. The message is linked to a sender, a recipient (user or group key), and carries the text content.

Trigger

Triggered by: POST /event (universal event dispatcher)

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

Preconditions

  • Sender and recipient keys are valid user identifiers

State Changes (Transaction)

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

  • message document inserted with sender, recipient, content, created timestamp

Side Effects (post_processing)

Publishes to progress.notification.message after commit.

InfoModel Fields

FieldTypeDescription
senderstrUser key of the message sender
recipientstrRecipient key (user or group)
contentstrMessage text content
message_keystr | NonePre-assigned key for the message document

None.

Source

MessagePostedEvent on GitHub

Released under the Apache 2.0 License.