SYSE.54:4.3 - Explain decisions and changing state
For a selected flow, identify who uses which information to request an action, to whom they send the request, and who is responsible for responding. The request can be accepted, rejected or remain unresolved. An event note states the claimed outcome. Establish the occurrence separately when the receiving claim requires evidence. A subsequent decision may initiate another action under a rule. Ask who makes that decision, with what information, under which condition, and when. Human judgement and automatic rules can both occur; a drawn rule does not supply authority to act.
| Element | Question that makes it useful | Distinction to preserve |
|---|---|---|
| Domain event | What consequential occurrence has happened in this account? To which case or object? | Distinguish the report from the occurrence and qualify the occurrence claim. A future scenario can propose the occurrence. |
| Command or action request | Who asks whom to do what, and what permits or prevents acceptance? | Requesting a booking is not successful booking. A command is not the reusable Method of carrying out the work. |
| Decision rule or policy | On this event, under these conditions, what should be done next and by whom? | “Whenever” needs its exceptions and timing. Temporal order alone establishes neither a decision rule nor a causal connection. |
| Information used for a decision, often called a read model | What information must be available to whoever makes the decision, where does it come from, and can it be stale? | A display of availability may differ from the state used to accept a reservation. |
| State-bearing domain object or system | What changes, which identity continues, and what must remain true? | The event “hold expired” differs from the interval during which a hold is active. |
| External participant or time condition | What can happen without this team’s command, and how is it noticed? | For a supplier refusal, identify how notice reaches the responsible participant and how they respond. For a deadline, identify how expiry is detected and acted on. |
Connect an event to a next action only after stating the rule or physical dependency that warrants the connection. Ask whether it happens always, immediately, only on working days or only after additional information. A payment notification, for example, may report something already done elsewhere rather than perform it here. For uncertain external behaviour, show the waiting and failure outcome instead of drawing an assured success.
Track one object through the relevant events to expose illegal transitions and missing information. For
concurrent requests, ask what must be decided together. When exploring software, an aggregate can be a
candidate consistency boundary around domain objects whose invariant one operation must preserve. Derive
that boundary from behaviour and invariants; it is not a synonym for any important project subject or alpha.
A bounded context bounds a particular model and its language. Neither it nor an aggregate determines one
service, one database or one team. Compare those architecture choices separately with SYSE.5 and SYSE.6.
Some parts of the domain are conversational: negotiation, diagnosis or design can revisit questions in many orders. Mark that region and the events or conditions allowing it to finish. Model consequential rules and the ordering constraints needed by the decision. If exact concurrency or temporal guarantees matter, return that question to an appropriate formal or specialist method; the workshop model does not prove them.