Skip to content
Documentation
Updated 7 minutes to read
Markdown

The Dynamic diagram shows how Services and Systems interact at runtime for one business scenario: the runtime sequence of numbered steps, and the Message Type each step carries. Its participants are Services or Contracts (Containers), Persons and external Systems.

This page is example 5 of the six Order-to-Cash C4 examples. See Example C4 Diagrams for an overview of all diagram types and when to use each.

Example Diagram type to pick in the import Architectural Scope Subject When it is set Needed before Promote
INT1337 - Order-to-Cash Flow — Dynamic not imported: C4 Dynamic on the BPM page none (set-wide) — never ❌ No

New 7.12 A Dynamic has no Architectural Scope or one System, and it can be promoted without one. Unlike the other types, a set may hold several Active Dynamics for the same scope.

  • ✅ Documenting and reviewing a specific business workflow end to end
  • ✅ Troubleshooting integration failures: trace where a message flow breaks
  • ✅ Checking that each step's Message Type is carried by the Transport Contracts of its Services
  • ⚠️ Focuses on one scenario at a time, not a complete system overview

New 7.12 The O2C Dynamic isn't imported: it's generated from the BPM INT1337 - Order-to-Cash Flow of the Order-to-Cash demo.

  1. Open the BPM's view page. The toolbar has C4 Dynamic (green, shuffle icon) next to Mapify and Mermaid. It shows for a live BPM when Mapify is licensed and your Role has Create on C4 Diagram Sets, plus Create and Modify on Systems, Services, Integrations and Domains, and on Contracts when they are in use (see Permission Set for C4 Diagram Sets).
  2. Click C4 Dynamic. The dialog Generate C4 Dynamic opens.
  3. Pick the Diagram Set in the shared set picker (Selected and All tabs, or Create new set), here Order-to-Cash Demo, and click Confirm.
  4. The result reads Generated in the Diagram Set. The set now holds the Draft INT1337 - Order-to-Cash Flow — Dynamic, with no scope.

The generator takes the BPM's Services in phase order (phase, lane, position) as participants, and draws one System_Boundary per owning System around them. The steps are the BPM's arrows between two of those Services, plus direct Service relations between them; each step carries its sender's Message Types. On a new diagram the participants and boundaries are placed in the order the steps first reach them, so the O2C Dynamic reads Portal, ERP, WMS, ERP-Finance. Click C4 Dynamic again to update the same Draft: the result reads Updated, no step is added twice, steps you removed don't come back, and the placement you made is kept.

The BPM INT1337 - Order-to-Cash Flow with C4 Dynamic in its toolbar, the Generate C4 Dynamic dialog with the shared Diagram Set picker (Selected and All tabs, Filter the result, Create new set), the generated Dynamic Draft with one System Boundary per owning System, Portal, ERP, WMS and ERP-Finance, and the BPM's seven business steps numbered in phase order, then C4 Dynamic again into the same set with the result Updated and no step added twice, animated walkthrough (7.12)
Animated walkthrough: C4 Dynamic on the BPM page, first into a new set, then again into the same set.

Example: INT1337 - Order-to-Cash Flow — Dynamic

Section titled “Example: INT1337 - Order-to-Cash Flow — Dynamic”

The generated diagram has 7 participants and 7 numbered steps. Below is the product's own Mermaid export of it, without the %% nodinite:node metadata lines that the export writes after each node. Each technology is written as / followed by the step's Message Type, because the generated steps have no protocol.

Preview Mermaid Code
C4Dynamic title INT1337 - Order-to-Cash Flow — Dynamic System_Boundary(sys_179, "Portal") { Container(svc_559, "INT1337-RCV-Order-Incoming", "", "Component type: Azure App Service") Container(svc_551, "INT1337-SND-Confirm-Outgoing", "", "Component type: Azure App Service") } System_Boundary(sys_178, "ERP") { Container(svc_553, "INT1337-ENT-Order-Entry", "", "Component type: ERP System") Container(svc_548, "INT1337-PLN-Order-Scheduled", "", "Component type: ERP System") } System_Boundary(sys_177, "WMS") { Container(svc_549, "INT1337-PKG-Order-Packed", "", "Component type: Warehouse Management System (WMS)") Container(svc_546, "INT1337-RCV-Order-Delivered", "", "Component type: Warehouse Management System (WMS)") } System_Boundary(sys_180, "ERP-Finance") { Container(svc_547, "INT1337-INV-Order-Invoiced", "", "Component type: Dynamics 365") } Rel(svc_559, svc_553, "Order Entry", "/ O2C.Order.Received/1.0") Rel(svc_553, svc_551, "Confirmation Sent", "/ O2C.Order.Entry/1.0") Rel(svc_553, svc_548, "Order Planned", "/ O2C.Order.Entry/1.0") Rel(svc_551, svc_548, "Order Planned", "/ O2C.Order.Confirmation/1.0") Rel(svc_548, svc_549, "Ready for Transport", "/ O2C.Order.Scheduled/1.0") Rel(svc_549, svc_546, "Order Delivered", "/ O2C.Order.Ready/1.0") Rel(svc_546, svc_547, "Order Invoiced", "/ O2C.Order.Delivered/1.0")
C4Dynamic
title INT1337 - Order-to-Cash Flow — Dynamic
System_Boundary(sys_179, "Portal") {
Container(svc_559, "INT1337-RCV-Order-Incoming", "", "Component type: Azure App Service")
Container(svc_551, "INT1337-SND-Confirm-Outgoing", "", "Component type: Azure App Service")
}
System_Boundary(sys_178, "ERP") {
Container(svc_553, "INT1337-ENT-Order-Entry", "", "Component type: ERP System")
Container(svc_548, "INT1337-PLN-Order-Scheduled", "", "Component type: ERP System")
}
System_Boundary(sys_177, "WMS") {
Container(svc_549, "INT1337-PKG-Order-Packed", "", "Component type: Warehouse Management System (WMS)")
Container(svc_546, "INT1337-RCV-Order-Delivered", "", "Component type: Warehouse Management System (WMS)")
}
System_Boundary(sys_180, "ERP-Finance") {
Container(svc_547, "INT1337-INV-Order-Invoiced", "", "Component type: Dynamics 365")
}
Rel(svc_559, svc_553, "Order Entry", "/ O2C.Order.Received/1.0")
Rel(svc_553, svc_551, "Confirmation Sent", "/ O2C.Order.Entry/1.0")
Rel(svc_553, svc_548, "Order Planned", "/ O2C.Order.Entry/1.0")
Rel(svc_551, svc_548, "Order Planned", "/ O2C.Order.Confirmation/1.0")
Rel(svc_548, svc_549, "Ready for Transport", "/ O2C.Order.Scheduled/1.0")
Rel(svc_549, svc_546, "Order Delivered", "/ O2C.Order.Ready/1.0")
Rel(svc_546, svc_547, "Order Invoiced", "/ O2C.Order.Delivered/1.0")
Step Label From To Message Type (the sender's)
1 Order Entry INT1337-RCV-Order-Incoming INT1337-ENT-Order-Entry O2C.Order.Received/1.0
2 Confirmation Sent INT1337-ENT-Order-Entry INT1337-SND-Confirm-Outgoing O2C.Order.Entry/1.0
3 Order Planned INT1337-ENT-Order-Entry INT1337-PLN-Order-Scheduled O2C.Order.Entry/1.0
4 Order Planned INT1337-SND-Confirm-Outgoing INT1337-PLN-Order-Scheduled O2C.Order.Confirmation/1.0
5 Ready for Transport INT1337-PLN-Order-Scheduled INT1337-PKG-Order-Packed O2C.Order.Scheduled/1.0
6 Order Delivered INT1337-PKG-Order-Packed INT1337-RCV-Order-Delivered O2C.Order.Ready/1.0
7 Order Invoiced INT1337-RCV-Order-Delivered INT1337-INV-Order-Invoiced O2C.Order.Delivered/1.0

Every participant is a Container bound to its Service, and each System_Boundary is bound to the System that owns the Services inside it.

New 7.12 A Dynamic diagram's page has a Sequence button next to Mermaid; no other diagram type has it. It opens the Mermaid Rendering window with Sequence picked: one numbered arrow per step from sender to receiver, in the step order, with the Message Type in brackets, such as 1. Order Entry (O2C.Order.Received/1.0). A person is drawn as a stick figure, and the nodes of one boundary stand in one box. Flows without a step number are left out, and a note says how many. A Dynamic without numbered steps shows No numbered steps: number the Dynamic's Flows in its Steps panel. You need read access to the Diagram Set.

The Order-to-Cash Demo set's Dynamic INT1337 - Order-to-Cash Flow — Dynamic, the Sequence button, and the seven steps in one box per System from the diagram's step numbers, animated walkthrough (7.12)
Animated walkthrough: the same seven steps as a Mermaid Sequence. The BPM's own Mermaid button gives the same Sequence, with a note on its branch.

New 7.12 The Designer's Steps tab checks each step the same way as the grouped Log View runtime diagram. A step resolves when one of the Transport Contracts of its Service or Contract ends carries the step's Message Type. Persons and external Systems may start and end a step. These step issues are shown but never refused:

  • an internal System as a participant;
  • an unbound participant, or a Component;
  • a Message Type that no Transport Contract of the step's ends carries.

The tab shows an Issues count badge and a banner, and each step shows its resolution line, or the reasons on the selected step. The O2C Dynamic resolves all seven steps with no issue. See Drawing Connectors for the Steps panel.

New 7.12 A Dynamic holds boundaries. The Toolbox offers System Boundary, Enterprise Boundary and Boundary, and the generators draw one System_Boundary per owning System. An imported Dynamic keeps its boundaries, including a Container_Boundary, which only an import can add. A binding the rules don't allow is dropped with a warning, and the boundary stays, unbound. The interactive view, the Mermaid View and the Mermaid and PlantUML exports all draw the boundaries.

The start of the Dynamic example with a Boundary Sales around the Portal side imported: Review and Resolve lists the boundary Sales as a Domain or unbound, Import, the interactive view drawing the Sales boundary around the Portal side, and the Mermaid view drawing the steps and the boundary, animated walkthrough (7.12)
Animated walkthrough: a Dynamic diagram imported with a Boundary block, from Review & Resolve to the interactive view and the Mermaid view, which both draw the boundary.

You can still import a C4Dynamic markup. Numeric step prefixes in relationship labels (for example 1. Submits order) are read as the step order, and the label is stored without the number. The Mermaid generator writes the steps in that order, and Mermaid numbers them when it draws the diagram, so re-importing the generated markup keeps the order and the labels.

A Diagram Set's Import: a C4Dynamic markup pasted, its labels starting with the step numbers 1. to 14., Next, Import, the Dynamic diagram opened with 14 participants and 14 steps in the Steps side tab, then the Mermaid view numbering the steps 1 to 14 and the generated Mermaid listing them in the stored order with their technologies, without the numbers, animated walkthrough (7.12)
Animated walkthrough: a numbered Dynamic imported in order, its steps in the Steps side tab, and the Mermaid View numbering them the same way.

Each step's technology is written back as the fourth argument of its Rel or Rel_Back; a step without one keeps the three-argument form. New 7.12 The text after the / in the technology is resolved by exact name to the step's Message Type, and renumbering steps keeps each step's Message Type.

New 7.12 The pills are inferred when a diagram opens, inside the set:

  • Each participant offers Owner: the L2 of its System, such as the Portal L2 for INT1337-RCV-Order-Incoming.
  • System and Service nodes on the set's other diagrams offer Dynamic to this diagram.

Promote of a Dynamic Draft replaces only the diagram it was cloned from; a generated Draft without an origin replaces nothing. See Navigation Between C4 Diagrams and Diagram Lifecycle.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...