System Design Atlas

Construction change orders, drawing revisions and cost impact

06 / 10Worked example

The overall architecture

How are responsibility for the change order and external processing divided between modules and processes?

Local consistency determines the change order API boundary. Document and notification processing runs separately for deferred work. Drawing reference, scope of work, cost review and approval record are modules within the API. Contractors send change orders and scope descriptions to the API; large drawings reside in the external drawing archive. The API stores immutable document references, cost revisions and approvals relationally. Construction management checks drawing references, cost control reads approved amounts, and approvers confirm the same content. Document retrieval and delivery occur outside the short approval transaction. Drawing and cost evidence are both prerequisites for approval.

Starting point A drawing change creates a new revision requiring review.

Assumptions for the example case

Original fictional design: an internal approval workflow for a change order with frozen drawings and costs. The illustrative internal threshold is 500000 cents. Up to and including this amount, one approver is sufficient; above it, this case requires a second approver. All figures and test targets are illustrative assumptions.

Runtime components and datastores

Runtime topology

ContractorsChange order and scope of work
External drawing archiveImmutable drawing hash

Change-order system

Construction change order APICheck drawing and costs together
Change-order datastoreReferences, revisions and approvals
Document processingRetrieval outside the transaction
Notification processingDelivery after commit
Approval interfaceConstruction management and approval
Contractors → Construction change order APIScope of work and costs
External drawing archive → Document processingDrawing bytes and hash
Document processing → Construction change order APIStable reference
Construction change order API → Change-order datastoreCommit shared prerequisites
Approval interface → Construction change order APIConfirm the exact content
Change-order datastore → Notification processingApproval event

Approval binds the drawing revision, scope of work and cost revision.

Contractors send change orders and scope descriptions to the API; large drawings reside in the external drawing archive. The API stores immutable document references, cost revisions and approvals relationally. Construction management checks drawing references, cost control reads approved amounts, and approvers confirm the same content. Document and notification processing handles retrieval and delivery outside the short approval transaction. Drawing and cost evidence are both prerequisites for approval.

Domain responsibilities within the API

Internal responsibilities

Drawing ingestionMaintain drawing-document hash and retrieval status
Cost revisionVersion quantity, unit and amount in cents
Approval bindingBind required consents to the same content
Implementation completionDocument implementation of the approved scope

Modules remain within the API process.

The change order API contains drawing reference, scope of work, cost review and approval record modules. Show their domain call relationships; modules have no separate server icons.

Map responsibilities to runtime components

Domain taskRuntimeResponsibility
Drawing referenceConstruction change order APIBinds the work to the relevant immutable drawing revision.
Scope of workConstruction change order APIDescribes the additional agreed work.
Cost reviewConstruction change order APICalculates the submitted line items traceably.
Approval recordConstruction change order APIBinds the required approval to the drawing, scope of work and costs.
Document and notification processingSeparate background processProcesses stored work and external feedback.
Drawing archiveExternal boundaryProvides or confirms the evidence agreed for this case.

Drawing reference

Runtime
Construction change order API
Responsibility
Binds the work to the relevant immutable drawing revision.

Scope of work

Runtime
Construction change order API
Responsibility
Describes the additional agreed work.

Cost review

Runtime
Construction change order API
Responsibility
Calculates the submitted line items traceably.

Approval record

Runtime
Construction change order API
Responsibility
Binds the required approval to the drawing, scope of work and costs.

Document and notification processing

Runtime
Separate background process
Responsibility
Processes stored work and external feedback.

Drawing archive

Runtime
External boundary
Responsibility
Provides or confirms the evidence agreed for this case.

The drawing archive remains outside the approval commit

The drawing archive remains outside the approval commit

The drawing archive remains outside the approval commit.

Approval applies to the exact drawing revision, scope of work and cost revision. Every business change creates a new version requiring review.

Change order revisions, plan references, approvals, and cost records must represent the same valid state. Your exercise identifies the input and expected result.

Alternative considered
A separate service for each module spreads the guarantee across additional network boundaries: approval binds the exact drawing revision, scope of work and cost revision, and every business change creates a new version requiring review.
Trade-off
Common schema changes require coordinated releases.
Reassess
A substantially different load for document and notification processing, or separate ownership, calls for a new division of runtime components.

Try it yourself

Classify drawing reference, document and notification processing, and drawing archive as a module, process or external system. Justify the authoritative datastore.

A hint for your attempt

A domain responsibility becomes a process only when it has its own execution unit.

Compare with a possible solution
Boundaries
Drawing reference is a module in the change order API; document and notification processing is a separate process; the drawing archive is external.
Storage
The datastore for change-order revisions, drawing references, approvals and cost records holds authoritative evidence. Approval binds the exact drawing revision, scope of work and cost revision; every business change creates a new version requiring review. The shared transaction protects this relationship; external responses remain separate evidence.

Apply to your project

Which planned service boundary would distribute a currently local guarantee across the network?

Next: approval and drawing changes follow a definite order.