ConceptChapter I · Fundamentals · Building block 2 of 7

System context & system boundary

A system context shows the considered system as a unit and identifies its external actors. Internal building blocks remain hidden at this level.

  1. SystemA unity whose interior remains hidden.
  2. ActorsPersons and systems outside the border.
  3. RelationshipsWhat flows between the shop and the outside world.

Context

Why this is important

Without a system boundary, it remains unclear what the shop itself stands for and where dependencies to others begin. Then interfaces to payment providers or transport partners are overlooked. The internal division shows other building blocks.

This building block explains external relations and system boundary. For internal modules, see Software Architecture and Module Boundaries.

At a glance · System as a black box in the environment

The system stands as a black box in the middle; users and external systems are connected via their interactions.
Shop example · Building blocks and relationships

System context of the shop

The shop accepts orders from customers and exchanges information with payment providers, shipping service providers and warehouse team. The internal shipping module prepares deliveries; the external transport partner transports them. The warehouse team also maintains the floor from the outside, while the warehouse module in the shop manages the reservations. All internal shop modules are within a single system boundary.

This is how you read the picture

  1. System The box shop in the system area – without internal modules.
  2. Actors The customer, payment provider, shipping service provider and warehouse team boxes in the external area.
  3. Relationships The arrow labels ordered, request payment, register shipment and maintain stock.

Wide diagram · Move laterally if necessary

The shop appears as a system; only external actors are outside its border.
Read diagram as text
  • Customer: Buying Products (External)
  • Shop: Order processing (System)
  • Payment provider: Authorize payment (External)
  • Shipping provider: Consignment transported (External)
  • Warehouse team: Providing goods (External)
  • Customer → Shop: Ordered
  • Shop → Payment provider: Payment request
  • Shop → Shipping provider: Notification of consignment
  • Warehouse team → Shop: Maintaining stock
The shop appears as a system; only external actors are outside its border.

Benefits & limitations

Helps if:

  • A new initiative needs a shared definition of delivery scope and external dependencies.
  • Stakeholders use the same system name for different areas of responsibility and need to clarify the scope.

Boundaries

  • The system context does not show the shop's internal decomposition; that requires an Architecture View showing its building blocks.
  • An arrow to the payment provider establishes neither availability nor a data format; those commitments belong in the API Contract.
  • The boundary depends on the system being considered: what is external to the shop is internal to the provider's own system.

In practice

  1. Define the system and its purpose. State which business capability is being considered and which tasks fall within the system's responsibility. This provides a clear frame of reference for the context view.
  2. Identify actors and external partners. Record the roles and systems that supply input, use results or influence the process. Distinguish them from internal building blocks; Architecture Views can then explain the internal structure.
  3. Label the direction of each interaction. State its trigger, business content and response. Refer to the API Contract for technical commitments so the context map keeps protocol details separate from business responsibilities.
Read the detailed explanation

The context view identifies the system under consideration, its users and the external systems it works with to fulfil business responsibilities. The boundary encloses the system's own responsibilities. Elements outside it may be important to a business process but remain someone else's responsibility.

The direction and business purpose make each relationship understandable: who requests which capability, who supplies information, and what result is returned? Internal decomposition is described in a separate architecture view. Module Boundaries addresses internal responsibilities; Bounded Context explains the business meaning of different models.

Simon Brown's C4 system context diagram is a common form of this view: a system in the centre, surrounded by users and neighbouring systems.

Check your understanding

Test yourself in three stages

  1. ReadingCheck in the picture

    Which actor reports the stock to the shop according to the presentation?

    View the solution with justification

    The warehouse team. The edge “Keep stock” leads from the warehouse team to the shop; the warehouse team is located in the External Zone.

  2. ApplyingTransferred to a new situation

    In future, the shop will send order confirmations via an external mail provider. What changes in the system context?

    View the solution with justification

    The mail provider would be added as another external node with an edge from the shop. The internal modules remain invisible, because only the external relationship counts.

  3. EvaluateWeighing an alternative

    The team wants to show the seven modules additionally in the system context. What disadvantage does that have?

    View the solution with justification

    The advantage is more detail. The disadvantage: The boundary between inside and outside is blurred, and the picture no longer answers the question of who the shop is talking to. Internal modules belong in their own view.

Continue on the learning path

Next in Fundamentals & orientation: Architecture drivers.