Mastering BPMN Flow Types: A Visual Guide to Online Ordering Processes

In the world of Business Process Model and Notation (BPMN), clarity is paramount. When modeling complex interactions between different entities—such as a customer and a retailer—it is crucial to distinguish between the internal progression of a task and the external communication of data. This tutorial breaks down the foundational concepts of flow types using a practical “Placing an Online Order” scenario, demonstrating how to effectively use sequence flows and message flows to create precise system architecture diagrams.
The Architecture of Interaction: Customer vs. Retailer
Imagine a standard e-commerce transaction. This process is not a single monolithic flow but rather a collaboration between two distinct participants: the Customer and the Retailer. In BPMN, these participants are often represented as “Pools” or “Lanes.” The visual structure of our diagram reveals two separate swimlanes, each containing its own internal logic.
Within the Customer pool, the process follows a linear path:
- Choose product: The customer browses the catalog.
- Submit order: The customer initiates the purchase.
- Wait for confirmation: The customer pauses and awaits a response.
Similarly, within the Retailer pool, a distinct internal sequence occurs:
- Receive order: The retailer’s system captures the incoming data.
- Check stock: Inventory levels are verified.
- Process payment: Financial transactions are authorized.
- Prepare shipment: Logistics are arranged for delivery.
Decoding the Connectors: Sequence Flow vs. Message Flow
The most critical aspect of this diagram is how the steps are connected. BPMN uses two specific types of connectors to represent these movements, and understanding the difference is essential for accurate modeling.
1. Sequence Flow (The Internal Engine)
Sequence flows represent the order of activities within a single participant. In the diagram, you will see solid arrows connecting the activities inside the Customer box and inside the Retailer box. These arrows indicate that once the current step is completed, the process immediately moves to the next step.
Key Characteristic: Solid arrows imply a direct, controlled succession of tasks performed by the same actor.
2. Message Flow (The External Bridge)
Message flows represent the exchange of information between different participants. In our example, there are two specific messages being exchanged:
- Order: Sent from the “Submit order” activity to the “Receive order” activity.
- Order confirmation: Sent from the “Prepare shipment” activity back to the “Wait for confirmation” activity.
These are represented by dashed arrows with a specific arrowhead style. This visual distinction tells the viewer that the Customer is not directly controlling the Retailer’s internal steps; rather, they are sending a signal that triggers the Retailer’s process.
The Decision Rule: How to Choose Your Connector
When constructing a BPMN diagram, you must make a deliberate choice for every line you draw. If you are unsure which type of flow to use, apply this logical decision rule:
- Is the next step part of the same participant’s process?
If yes, use a Sequence Flow.
- Is this a communication between separate participants?
If yes, use a Message Flow.
- Is this just a note or a data object attachment?
If yes, use an Association (a dotted line without an arrowhead).
A helpful mnemonic to keep in mind is the definition of the words themselves:
- Sequence implies succession (one thing after another in a chain).
- Message implies communication (sending and receiving information).
In our online order example, the customer’s process advances when they “Submit order,” but the retailer receives a “Message” that triggers their own distinct process. This separation of concerns prevents the diagram from becoming a tangled web of uncontrolled dependencies.
Conclusion
By strictly adhering to the distinction between sequence flows and message flows, you create diagrams that are not only visually appealing but logically rigorous. Whether you are using Visual Paradigm or another modeling tool, ensuring that internal steps are linked by solid lines and cross-party communications are linked by dashed lines will make your system architecture clear to developers, stakeholders, and business analysts alike.