System Design Atlas

Water leak detection and repair orders

07 / 10Worked example

Critical flow

Which condition remains open after documented repair without follow-up inspection?

Trace the failure through the architecture: Field service documents a repair offline and synchronises twice. One work record is created; the order stays in repariert until post-repair inspection provides evidence. Missing measurements after repair leave verification open rather than proving successful restoration. Durable acceptance, actual effect and response are considered separately.

Starting point Keep the time series separately and reference the finding evidence.

Assumptions for the example case

This fictional worked design assumes a bounded metering zone, minute-by-minute flow readings, manual confirmation of findings and one active repair order per confirmed finding. Numbers and quality targets are illustrative test assumptions. Automatic valve control, full hydraulic simulation and drinking water quality assessment are outside scope.

Failure point in the sequence

Offline evidence and later verification readings

The work record is stored once; B-111 remains open.

Field service device
Findings API
Findings/work order store
Time-series datastore
Post-repair inspection worker
Control room
  1. 01 Field service device · Local processingRecord repair evidence locally
  2. 02 Field service device → Findings APIrepair-1 synchronization
  3. 03 Findings API → Findings/work order storeCommit the work record
  4. 04 Findings API · Local processingResponse missing
  5. 05 Field service device → Findings APIrepair-1 again
  6. 06 Findings API → Field service deviceStored result: repariert
  7. 07 Time-series datastore → Post-repair inspection workerRe-measurement
  8. 08 Post-repair inspection worker → Control roomSubmit post-repair inspection evidence
  9. 09 Control room → Findings APIPOST /repair-orders/R-111/verification · evidence + justification
  10. 10 Findings API → Findings/work order storeValidate permissions and evidence; abgeschlossen or nacharbeit

Result: One work record; state repariert until post-repair measurements verify the outcome.

Replay confirms the stored work record; the inspection worker supplies evidence, and the authorised control room confirms closure through the findings API.

Repair work is recorded offline. Synchronise the work record once and keep post-repair inspection open. Duplicate synchronisation cannot close the case without evidence of success.

Effect, response and recovery

Specific error
Field service documents a repair offline and synchronises twice. One work record is created; the order stays in repariert until post-repair inspection provides evidence. Missing measurements after repair leave verification open rather than proving successful restoration.
Before and after commit
Commit durably completes the local change. Before commit, the old state remains valid; afterwards, an identical retry returns the stored outcome. Reconcile the external effect using its existing reference.
Retry behaviour
The station delivers the same sequence twice: it counts once towards the three-reading sequence. A changed value under the same sequence is quarantined. A duplicate repair report creates no second post-repair inspection.

Accept offline evidence

Accept offline evidence

Synchronise the work record once and keep follow-up inspection open.

Repair is recorded without connection.

Duplicate synchronisation cannot close the case without evidence of success.

Alternative considered
Closing on upload skips post-repair inspection.
Trade-off
Field service sees an intermediate status.
Reassess
A separate physical acceptance process is agreed upon.

Terms in this step

Accept offline evidence
Duplicate synchronisation cannot close the case without evidence of success.

Try it yourself

An offline repair is synchronised twice; post-repair inspection is missing. Predict the work records and status.

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
Exactly one work record is accepted; duplicate delivery creates no second work entry.
Second part of the solution
The order remains in repariert. Only valid post-repair inspection permits abgeschlossen; missing measurements leave verification open.

Apply to your project

Which corresponding assumption in your project would you check first? Consider this trigger: A separate physical acceptance process is agreed upon.

Step 8 examines: locate measurement gaps.