Ticket domain flows
This page describes how the Ticket boundary behaves over time: its process-manager processing model, the synchronization policies in both directions, and the integration matrix. It references the normalized states, commands, and events defined in the domain model.
Current processing model
This is process-manager behavior: the boundary reacts to events and emits commands to other authorities. It does not reconstruct or persist a local ticket aggregate.
Lifecycle and synchronization policies
Provider to ION
SnowTicketCreatedEventbecomesIonSecurityTicketCreatedEvent.- Ticket creation sends
UpdateIonSecurityIncidentHasTicketCommandwithHasTicket = true. - A ticket created in
Newis patched to externalPENDING, guarded by aState == NEWprecondition. SnowTicketUpdatedEventis compared with its previous values and may produce multiple attribute-specific ION ticket events.- Normalized ticket events update the linked incident or add incident activity comments where policy requires it.
Incident to provider
Incident title, description, severity, status, classification, customer reference,
and closure events are translated into external PatchTicketCommand messages when
the incident is known or presumed to have a ticket.
Enforced policies
- Closed ticket changes produce
IonSecurityTicketClosedEvent, not a normal state event. - Archived changes produce
IonSecurityTicketArchivedEvent, not a normal state event. - A closed event is produced again if verdict or closure notes change while the ticket remains closed.
- Verdict-updated events are suppressed while closed because the closed event carries the verdict.
- ServiceNow-originated title and description events are normalized but deliberately not synchronized back to the Incident domain.
- Ticket state, severity, closure, archival, and customer reference can update the linked incident.
- Ticket closure maps verdict and classification reason to incident classification.
- Ticket archival sets the incident to
Archivedand adds a fixed public comment. - An archived incident does not trigger a patch that would unarchive the ticket.
- Automated reopening or leaving waiting-for-customer may set external
IsHot = true. - Closing as
BenignPositiveorUndeterminedchecks unresolved response actions; unresolved actions produce a public incident comment and telemetry.
Integration matrix
| Source | Input | Output or effect |
|---|---|---|
| ServiceNow/Ticketing | SnowTicketCreatedEvent | IonSecurityTicketCreatedEvent |
| ServiceNow/Ticketing | SnowTicketUpdatedEvent | Zero or more attribute-specific normalized ticket events |
| Incident domain | Incident attribute and lifecycle events | External PatchTicketCommand |
| Normalized ticket events | State, severity, closure, archive, customer reference | Incident commands |
| Normalized ticket events | State, severity, true-positive verdict, owner, closure | Public or private incident activity comments |
| Response Actions API | Unresolved actions queried at selected closures | Critical public incident comment and telemetry |