System Design Atlas

Multi-stage request approval

09 / 10Worked example

Operations and security

Which role responds to a signal while preserving responsibility for the business decision?

Process operations needs worklists for open tasks, U-17 pending and conflicts. Every command is authorised server-side. Logs explain decisions without unnecessarily exposing request data.

Starting point Step 8 has backlog, conflict, and pending delivery separated as distinct symptoms.

Assumptions for the example case

Illustrative design: an internal procurement request for 6,000 euros undergoes business review followed by budget review. The inclusive budget threshold is 5,000 euros. These figures are assumptions rather than operational measurements. Ordering, payment, contract law and automatic decisions are outside the scope.

Signals, response and responsible role

Operation · Signal, response and responsibility remain connected

Overdue open tasksProcess operations checks task age, delegation and reminder rules.A reminder changes no business state.
409 rate and aborted operationsProduct team checks parallelism and submission interface.Keep versions and conflict times auditable.
U-17 pending too longProcess operations reconciles with purchasing.Preserve the same key; create no second order.
Inadmissible attempted decisionSecurity owners review roles and history.Reject server-side and minimally log.
  • Measurable signal
  • technical reaction
  • Business investigation

Operations measures backlogs and conflicts. Business approvals or rejections require an authorised decision.

Operational signals lead to actions with assigned ownership. No signal replaces business approval.

Initial security and operational tests

Risk or signalProtection or reactionEvidence
Self-approval or third-party taskCheck role, assignment and applicant server-side per decision.Negative test shows no change in state and a limited audit entry.
Superseded revisionExpected active revision in command and atomic comparison.Two commands against v7 produce exactly one business commit and one 409. Test both winner orders.
U-17 remains pendingObserve outbox backlog and compare it with target system.Repeat with the same U-17 does not produce a second target effect.
Datastore lossTest backup and restore with an agreed RTO/RPO acceptance.Restoration exercise remains documented as open evidence.

Self-approval or third-party task

Protection or reaction
Check role, assignment and applicant server-side per decision.
Evidence
Negative test shows no change in state and a limited audit entry.

Superseded revision

Protection or reaction
Expected active revision in command and atomic comparison.
Evidence
Two commands against v7 produce exactly one business commit and one 409. Test both winner orders.

U-17 remains pending

Protection or reaction
Observe outbox backlog and compare it with target system.
Evidence
Repeat with the same U-17 does not produce a second target effect.

Datastore loss

Protection or reaction
Test backup and restore with an agreed RTO/RPO acceptance.
Evidence
Restoration exercise remains documented as open evidence.

Open operating arrangements

Responsibility
Deadlines, representations, escalation paths and retention periods must be agreed with the organization.
Recovery
RTO and RPO are yet to be agreed. A test must show consistent continuation of A-17, R-3 and U-17 after restoration. Before redelivery, operations reconciles any accepted U-17 with the target. Recovery tests use synthetic data in an isolated environment.

Terms in this step

Least Privilege
A role only gets the permission it needs for its task.
RTO and RPO
Target values for restart time and maximum data loss; they must be agreed and rehearsed.

Try it yourself

Formulate a negative test for self-approval and a recovery question for U-17.

A hint for your attempt

The check must cover the specific request and task.

Compare with a possible solution
Self-approval
Applicant sends POST /tasks/F-17/decision. Expectation: server-side rejection, F-17 remains open and A-17 unchanged.
Recovery
After data recovery, it is checked whether the Outbox U-17 is safely deliverable again and the destination recognizes it deduplicated.

Apply to your project

Which operations role may investigate your workflow, and which write effects require a role with business authority?

The final step combines decisions, evidence and open issues into an implementable initial design.