Introduction to BPMN Part II - Swimlanes

In a swimming pool, there are lanes designated for swimmers. Swimmers get their own lane to swim in, and they won't swim across another. The concept of swimming lanes also exists in BPMN.


Swimlane objects (aka: Swimlanes) in BPMN are rectangular boxes that represent participants of a business process. A swimlane may contain flow objects that are performed by that lane (participant), except for black box that must have an empty body (we will talk about black box later on in this tutorial). Swimlanes may be arranged horizontally or vertically. They are semantically the same, just different in representation. For horizontal swimlanes, process flows from left to right, while vertical swimlanes flow from top to bottom. Examples of swimlanes include Customer, Account Department, Payment Gateway and Development Team.

There are two kinds of swimlanes: Pools and Lanes.

Pools

Pools represent participants in a business process. It can be a specific entity (e.g. department) or a role (e.g. assistant manager, doctor, student, vendor).

Inside a pool, there are flow elements. They represent the works that the pool needs to perform under the process being modeled. However, there is a kind of pool that has no content at all. It is known as the blackbox pool. Blackbox pool is often used when modeling entities external to the business process. As it is external, its internal flow does not have any impact on the process being modeled, hence can be skipped, producing a blackbox. The following BPD (business process diagram) gives you an example of a blackbox pool. Customer is a blackbox. Since the process focuses on how the chef prepares a meal, what the customer does is not of the process' interest. The use of blackbox depends on the perspective the process takes. If you need to model the process of how a customer places an order, the flow of Customer will be modeled, making the Chef pool a blackbox.

blackbox sample

Lanes

Lanes are sub-partition of pools. For instance, when you have a pool Department, you may have Department Head and General Clerk as lanes. Same as pools, you can use lanes to represent specific entities or roles who are involved in the process.

Lanes may contain lanes, to form a nested structure, when needed. However, BPMN helps you primarily on modeling business process. Do not try to build nested lanes just for modeling the structure of your organization. If you want to model the organization structure, use the organization chart instead.

Case Study - The True Aqua Distilled Water Company

The True Aqua Distilled Water Company is a young distilled water supplier in the city. They sell distilled water for business and home use. Now, The True Aqua Distilled Water Company wants to increase their market share from 5% to 10% in the next 12-18 months. To reach this objective, they are trying to find ways to increase operating efficiency and to exceed customers' expectation.

Finally, The True Aqua Distilled Water Company has decided to improve their distilled water ordering process. You are a business analyst who is responsible for this mission.

After meeting with The True Aqua Distilled Water Company, you have collected the following information about the ordering process. Let's take a look.

To order distilled water, customer either calls the ordering hotline or send us Email. Currently, 90% of the orders come from phone calls, while 10% are placed by Email. The customer service assistant who receives the order will check whether the customer is an existing customer or a new one. If the customer has never ordered before, the customer service assistant will create a customer account for him or her before proceeding to water delivery.

The delivery of distilled water is carried out once a week on every Wednesday. So on every Wednesday morning, the customer service assistant will forward orders to the Logistics Department for delivery. Once the manager in the Logistics Department has received the orders, he will arrange the delivery by assigning workers for different orders, printing and posting the schedule. The workers receive the calls and deliver water to the customer accordingly.

Now, you need to model the process in BPD, with BPMN. In this section, you will be guided through the steps of creating the necessary swimlanes in BPD. The modeling of process flow will be described in the next part of this tutorial.

  1. Start Logizian. You will see the following window.
    logizian screen
    Here is a description of different parts of the user interface:
    1 Menu bar The menu bar at the top of the window allows you to select and perform various operations in Logizian.
    2 Toolbar Toolbar, which is below the menu bar, is the extension menu. All buttons are presented in groups of icons readily accessible for users.
    3 Diagram Navigator A place where diagrams are listed, and where you can create and access diagrams based on their types.
    4 Properties Pane The properties of chosen model/ shapes will be shown on properties pane upon selection.
    5 Message Pane Possible information or warnings will be shown here.
    6 Diagram Editor An area where you edit your diagram.
  2. An empty BPD is created for you. Let's rename it. Right click on the background of the empty BPD and select Rename... from the popup menu.
    rename diagram
  3. Enter Distilled Water Order Process as diagram name. Click the diagram for confirmation.
    name diagram
  4. By reading the details of the ordering process collected from user, you understand the collaboration between customer and The True Aqua Distilled Water Company, and are able to identify the following entities that need to be modeled in the BPD, as they are involved in the process: Customer, Customer Service Assistant, Logistics Department, Manager (in the Logistics Department) and Worker (in the Logistics Department). You should model them with BPMN pools and lanes. Let's create the Customer pool first. Select Horizontal Pool in the Diagram Toolbar.
    sel hor pool
  5. Click on the BPD (in the Diagram Editor) to create a pool. Enter Customer as pool name and press Enter for confirmation.Customer
    pool created
    Note that a pool extends the entire length of the diagram horizontally.
  6. You may create separate pools for Customer Service Assistant and Logistics Department. But to highlight the fact that they are under the same company, it would be better to create a pool for The True Aqua Distilled Water Company, and make Customer Service Assistant and Logistics Department lanes of the pool. Create a pool below Customer. Name the pool The True Aqua Distilled Water Company.
    pools created
  7. Let's create lanes. Right click on the pool The True Aqua Distilled Water Company and select Add Lane from the popup menu.
    add lane
  8. Enter Customer Service Assistant as name. Press Enter for confirmation.
  9. Create the lane Logistics Department below the Customer Service Assistant lane. Right click on Customer Service Assistant and select Insert Lane After from the popup menu.
    insert lane after
  10. Enter Logistics Department as name. Press Enter for confirmation.
  11. The lanes are too wide. Let's resize them. Press on the lane border and drag upwards to resize the lane Customer Service Assistant. To resize the second lane, press on the bottom pool border and drag upwards.
    resize
    Up to now, the diagram should look like this:
    swimlanes resized
  12. Inside the Logistics Department, there are two entities who take part in the process. They are the manager and worker. For this reason, you should create them inside the lane Logistics Department, as nested lanes. Right click on the lane Logistic Department and select Add Child Lane from the popup menu.
    add child lane
  13. Enter Manager as name. Press Enter for confirmation.
  14. Right click on the lane Manager and select Insert Lane After from the popup menu.
    insert worker lane
  15. Enter Worker as name. Press Enter for confirmation. Up to now, your BPD should look like this:
    updated bpd

Resources

  1. The True Aqua Distilled Water Company - Part II.vpp (with this part completed)

Other Parts of Introduction to BPMN

  1. Part I
  2. Part III - Flow and Connecting Objects
  3. Part IV - Data and Artifacts

Related Links

  1. Using BPMN pool and lane in your BPD
  2. BPMN Specifications

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Data Flow Diagram (DFD) Tutorial
  2. Develop as-is and to-be business process
  3. Drawing Leveled Data Flow Diagrams (DFDs)
  4. Presenting Business Process Model with Process Animation
  5. Drawing BPMN 2.0 business process diagram
Tags of this article:

Comments (1)

written by Luis on February 22, 2012

Dave, great igsinht to these points, but I agree, don't waste time refuting every ignorant comment. I pretty much refrain from reading the JS comments now.Keep up the good work on this site, its much more positive and constructive.

Write comment

Rating

Comment

Enter the calculation result

security code