Business Process Designer > Business process modeling > Graphical elements / Swimlanes

Swimlanes

A swimlane represents a participant of a business process. This may be an employee, a department, a customer, a supplier or a role, for example, the initiator or approver. A participant represented by a swimlane is responsible for performing the tasks placed in the swimlane.

Thus, by adding all the swimlanes to the process and placing the corresponding tasks in them, you will graphically represent the interaction between the process participants and describe the sequence of actions that must be taken by each of them.

360019367491-mceclip3

Types of swimlanes

To represents participants of a business process, you can use one of the following types of swimlanes:

  • Dynamic - used if the job position of the participant is determined during the execution of the process. In the diagram it is indicated in green.
  • Static - choose this type if the job position of the responsible user is known before the process begins. In the diagram, it is indicated in gray.

1.png

On the process diagram, swimlanes can be positioned both vertically and horizontally.

How to create a swimlane

A swimlane representing a Process Initiator is created automatically. Other swimlanes can be added in two ways:

  • Click the + icon

360019236592-mceclip0

  • Drag an item from the right panel to the modeling sheet.

2.png

Swimlane Settings

To make it easier for you to understand swimlane settings, let's take as an example the purchase request process.

Below you can see all the process steps and process participants:

  • Any employee can create a request and send it to his/her manager for approval.
  • The manager rejects or approves the request.
  • In case of a positive decision, the warehouse staff checks the availability of goods. If the requested product is in stock, it will be given to the initiator.
  • If the product is not in stock, the warehouse employee will be assigned with the task to purchase the requested product.
  • After the product is purchased, it will be given to the person who started the request process.

Let's describe the participants using dynamic and static swimlanes.

Dynamic swimlane

If any employee can start the process, then at the stage of process modeling his or her name or job position will be unknown. The system will determine the specific performer while the process is executed. In the diagram, the performer will be represented by a dynamic swimlane.

360019236972-mceclip1

The Initiator swimlane is added automatically when you create a new process. To open the settings window, double-click on its name.

360019237052-mceclip2

The Initiator variable is also created automatically. Its value is determined immediately after the process starts. This variable stores the information on the user who launched the process. You can use this variable when modeling task forms, notifications, etc.

Let's add another swimlane that will represent the manager of the Initiator. By default, a dynamic swimlane is created. Its name is Executor 1.

06.PNG

To increase readability of the process diagram, rename the swimlane to Manager. To do this, open the settings window.

360019246052-mceclip4

Now you need to specify a variable that stores the performer of the task. It is determined every time someone starts a process. For example, the initiator will select his or her manager from the list of all company employees when filling out the request.

Click the Create New Variable button and in the opened window specify the necessary parameters.

360019108131-mceclip5

In this case, all required fields will be filled in automatically. Please note that you cannot change the type because in swimlanes you can only use the User type variables. However, you can specify additional parameters:

  • One - the variable will store only one user.
  • Many- multiple users will be stored in the variable.
  • Show locked users - you can specify locked users as the variable value.

Select options you would like to apply and click Create.

Once this is done, the settings window of the Manager swimlane will look like this:

360019114771-mceclip6

Thus, using dynamic swimlanes we represented two process participants. Now let's proceed to the static swimlane settings.

Static swimlane

Swimlanes of this type are used if you know in advance which position the process participant holds or which user group he or she belongs to.

In the third step of the Purchase request process, the warehouse employee checks whether the equipment is in stock. Since we know who exactly will perform this task, we use a static swimlane to represent this process participant.

Add a new swimlane and go to the settings window. To improve the readability of the process diagram, rename the swimlane and then change its type.

9.png

Let's look at other swimlane settings.

  • Variable – here you may specify a "User" type variable that will store information about the position and the name of the process participant.  You may use this variable when modeling task forms, notifications, etc. However, this field is not required for a static swimlane. Since the executor is known in advance, it can be defined in another way, for example, using an organizational chart or a user group.
  • User Group – select a user group or an organizational chart item, to define who exactly will perform tasks placed in the swimlane.

If you select a user group or department as an executor, the task will be assigned to all staff members of this group or department. As soon as someone starts to work on the task, it will disappear from the list of tasks of other employees.

If you place several tasks in the swimlane, then each new task will be automatically assigned to the employee who performed the previous task.

In the process diagram, the swimlane representing the user group or department is indicated by the icon 360011088231-mceclip0.

Thus, after setting up all the swimlanes, the Purchase request process will look like this:

360019365711-mceclip1

Access permissions

You can manage access permissions of the process participant represented by a swimlane.

In the swimlane settings window, open the Access Permissions tab. By default, the system automatically provides permissions to app items and files used in tasks.

You can deselect this option. In this case, you will have to manually grant access to specific app items and files before the business process is launched.

360019497392-mceclip2