System Design Atlas

Omnichannel customer service

02 / 10Worked example

Requirements

Which business rule protects service cases, and how is the agreed limit checked?

The case boundary creates business rules and measurable goals. For service case F-34, the central invariant is: an externally sent response binds the confirmed draft version and the selected channel; uncertain identity similarity leads to an assignment proposal. An invariant must apply after each completed operation. Quality objectives, on the other hand, describe an operation to be measured.

Starting point Check channel references and customer identity separately.

Assumptions for the example case

Own fictitious example design. A service case via e-mail and chat with human confirmed knowledge suggestions. A send command without evidenced status is added to the investigation list from 120 seconds. All figures and test goals are illustrative assumptions.

Business guarantee and measurable limit

Guarantee and validation gates

1
Service case F-34maintains identity, status and channel reference
2
Message N-34Stable channel message identifier and content
3
Draft A-34Exactly confirmed response and channel
Exact limitSend command without status enters investigation at 120 s

Sending binds the confirmed draft version and selected channel.

An externally sent reply binds the confirmed draft version and selected channel; uncertain identity similarity produces a suggested association.

Business requirements (functional)

Further reading
Durable commitment
An externally sent reply binds the confirmed draft version and selected channel; uncertain identity similarity produces a suggested association.
Evidence and closure
Service team confirms completion of processing.

Operational goals (non-functional)

Further reading
Local processing
Illustrated target: 95% of local commands under 800 milliseconds in a 15-minute profile with 40 commands/s. External processing and human waiting time are measured separately.
Observable limit
A send command without evidenced status is added to the investigation list from 120 seconds. The boundary test checks its own case rule; it is not yet a measured proof of operation.

Sending requires a human-confirmed draft

Sending requires a human-confirmed draft

Sending requires a human-confirmed draft.

An externally sent reply binds the confirmed draft version and selected channel; uncertain identity similarity produces a suggested association.

A send command without evidenced status is added to the investigation list from 120 seconds. The exercise specifies the input and expected result.

Alternative considered
A response-time target alone leaves invalid business states unchecked.
Trade-off
Strict validation can pause an operation for investigation.
Reassess
Measured processing times or new contracts with channel providers require a renewed target check.

Try it yourself

Separate the business invariant from the 800-millisecond target. Explain the exact limit in this case.

A hint for your attempt

Completing an operation quickly but incorrectly does not satisfy the business guarantee.

Compare with a possible solution
Business rule
An externally sent response binds the confirmed draft version and the selected channel; uncertain identity similarity leads to an assignment proposal. The counterexample test checks the permitted state.
Operations and boundary
800 milliseconds apply to 95% local commands in the assumed peak-load profile. A send command without evidenced status is added to the investigation list from 120 seconds.

Apply to your project

Which rule of your project remains binding even with slow processing?

Next, case contention is tested alongside message throughput.