Introduction to BPMN Part II - Swimlanes

March 07, 2016 Views: 56,685 PDF Link

In a swimming pool, there are lanes designated for swimmers. Swimmers get their own lanes to swim in without swimming 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 contains 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 but just different in representation. For horizontal swimlanes, process flows from left to right, while process in 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 one 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 none 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 pool

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 other 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 for 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 out ways to increase operating efficiency and to exceed customers' expectation.

As a result, The True Aqua Distilled Water Company has decided to improve their distilled water ordering process. Now, you are a business analyst who are 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, customers either call 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 to manage 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 to create the necessary swimlanes in BPD. The modeling of process flow will be described in the next part of this tutorial.

  1. Create a new project by selecting Project > New from the application toolbar. In the New Project window, click Create Blank Project.
  2. Create a new business process diagram by selecting Diagram > New from the application toolbar.
  3. In the New Diagram window, select Business Process Diagram and click Next.
    New business process diagram
  4. Enter Distilled Water Order Process as the diagram name and click OK to create the diagram
  5. . You will see the following window.
    Visual Paradigm interface
    Here is a description of different parts of the user interface:
    1 Application toolbar The application toolbar provides you with accesses to various operations in Visual Paradigm.
    2 Diagram Editor The area where you edit your diagram.
  6. By reading the details of the ordering process collected from users, you understand the collaboration between customers 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.
    Select horizontal pool
  7. Click on the BPD (in the Diagram Editor) to create a pool. Enter Customer as the pool name and press Enter to confirm.
    Pool created
    Note that a pool extends the entire length of the diagram horizontally.
  8. 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.
    Pool created
  9. 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 to pool
  10. Enter Customer Service Assistant as name. Press Enter for confirmation.
  11. 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 a lane after existing lane
  12. Enter Logistics Department as name. Press Enter for confirmation.
  13. 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.
    Resizing lanes
    Up to now, the diagram should look like this:
    Lanes resized
  14. 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
  15. Enter Manager as name. Press Enter for confirmation.
  16. Right click on the lane Manager and select Insert Lane After from the popup menu.
  17. Enter Worker as name. Press Enter for confirmation. Up to now, your BPD should look like this:
    Updated Business Process Diagram

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

You may be interested in

  1. Data Flow Diagram (DFD) Tutorial
  2. Writing Effective Use Case
  3. Drawing Entity Relationship Diagram (ERD)
    Tagged:
  4. Data Flow Diagram with Examples - Food Ordering System
  5. Perform UML Modeling in NetBeans
Tags of this article:

Comments (3)

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.

written by Karan Goenka on February 11, 2015

How do you number an activity box?
Also what is scientifically the correct way to mention the associated status to activities?

written by Sohail Ejaz on April 3, 2016

Excellent work done. Thanks a lot for uploading this great article. It is extremely useful for me.

Write comment

Rating

Comment

Enter the calculation result

security code