Drawing business process diagrams

Business Process Modeling Notation (BPMN) is a graphical representation for designing and modeling business processes visually. It is a standard for business process modeling, and provides a graphical notation for specifying business processes in a business process diagram (BPD).

Creating business process diagram

To create a business process diagram, right click on Business Process Diagram in Diagram Navigator and select New Business Process Diagram from the pop-up menu.

Create business process diagram
Create business process diagram

Creating pool

To create pool, click Horizontal Pool on the diagram toolbar and then click on the diagram.

Create pool
Create pool

Adding lane to pool

To add lane to pool, right-click the pool and select Add Lane from the pop-up menu.

Create lane
Create lane

Creating start event

To create start event, click Start Event on the diagram toolbar and then click on the diagram.

Create start event
Create start event

Creating task

To create task from a start event, click on the Sequence Flow -> Task resource beside it and drag.

Create task
Create task

Move the mouse to where you want to place the shape to and then release the mouse button. A task is created and connected to the start event with a sequence flow.

Task and sequence flow created
Task and sequence flow created

Creating message flow

To create message flow, click Message Flow on the diagram toolbar.

Create message flow
Create message flow

Drag from the source shape, move the mouse over the target shape and then release the mouse button to create the message flow.

Connect shapes with message flow
Connect shapes with message flow

Automatic connection rule checking

VP-UML provides automatic connection rule checking to make sure your business process diagram is in compliance with the BPMN specification.

For example, if you move a task from one pool to another, and if this task is connected with another shape with sequence flow, the Invalid Connection Detected dialog box shows to advice you to change sequence flow to message flow.

Invalid connection detected
Invalid connection detected

Click OK button to accept the correction. The sequence flow is changed to message flow automatically.

Sequence flow changed to message flow
Sequence flow changed to message flow

Creating gateway

To create gateway from a task, click on the Sequence/Message Flow -> Gateway resource beside it and drag.

Create gateway
Create gateway

Move the mouse to where you want to place the shape to and then release the mouse button. A gateway is created and connected to the task with a sequence flow.

Gateway and sequence flow created
Gateway and sequence flow created

Creating intermediate event

To create intermediate event from a task, click on the Sequence/Message Flow -> Intermediate Event resource beside it and drag.

Create intermediate event
Create intermediate event

Move the mouse to where you want to place the shape to and then release the mouse button. An intermediate event is created and connected to the task with a sequence flow.

Intermediate event and sequence flow created
Intermediate event and sequence flow created

Creating text annotation

To create text annotation from a task, click on the Association -> Text Annotation resource beside it and drag.

Create text annotation
Create text annotation

Move the mouse to where you want to place the shape to and then release the mouse button. A text annotation is created and connected to the task with an association.

Text annotation and association created
Text annotation and association created

Splitting sequence flow with shape

You can use the split sequence flow utility to split a sequence flow by task, sub-process, intermediate event or gateway.

Before this, you may want to move some shapes aside to make room for the new shape. Select Sweeper on the diagram toolbar.

Sweeper
Sweeper

Click on the diagram and drag to sweep shapes aside, release the mouse button when enough room is made.

Sweep shapes aside to make more room
Sweep shapes aside to make more room

Click the Split with Shape resource beside the sequence flow.

Split with Shape resource
Split with Shape resource

Select the shape type to split the sequence flow.

Select shape type to split sequence flow
Select shape type to split sequence flow

The sequence flow is split by the selected type of shape.

Sequence flow split by the selected type of shape
Sequence flow split by the selected type of shape

Forming sub-Process diagram

To create sub-process for shapes, select the shapes in diagram, right click on the selection and select Form Sub-Process Diagram from the pop-up menu.

Form sub-process diagram
Form sub-process diagram

A new diagram is created with the selected shapes.

Form sub-process diagram
Form sub-process diagram

When you return to the original diagram, you will see the selected shapes are transformed to a sub-process.

Shapes transformed to sub-process
Shapes transformed to sub-process

Continue to complete the diagram.

Completed diagram
Completed diagram

Assigning IDs to model elements

It is possible to assign IDs to objects in business process diagram. By default, IDs are assigned by following the order of object creation, starting from number 1. However, you can define the format, or to enter an ID manually.

Defining the format of ID

To define the format of ID, open the Options dialog box by selecting Tools > Options from the main menu. Select Diagramming from the list on the left hand side, and open the Business Process tab. From there you can adjust the format, and control whether or not to display the ID on diagram, and the position of ID.

Define format of ID
Define format of ID

Below is a description of options.

OptionDescription
Prefix Text to add before the number
Num of digits The number of digits of the number. For example, when digit is 3, ID "1" will become "001"
Suffix Text to append to the number
Show ID option Whether or not to show ID on diagram, and whether to show it as label that attach to a shape, or as text below caption
Options for formatting ID

Showing ID on diagram

By default, ID is just a text property that won't appear on diagram. However, you can make it appear either near or within a shape.

Different looks of a task when ID is not shown, ID is shown as label and ID is shown below caption
Different looks of a task when ID is not shown, ID is shown as label and ID is shown below caption

To configure how to show ID (or not to show ID), you can either set the global option (refer to the previous section), or set it through diagram's option by right clicking on the business process diagram, selecting Presentation Options >Configure Show ID Options from the popup menu.

Show ID on a diagram
Show ID on a diagram

In the Configure Show ID Options dialog box, click on the drop down menu Show ID Options and select if you want to show IDs, and if yes, where to show - below caption or as a label.

To configure the whether or not to show ID
To configure the whether or not to show ID

If you selected to show as label, you can adjust in further the position of ID, relative to the shape (e.g. Top right of task) and the rotation.

To make ID of task show as label, position at the left of shape
To make ID of task show as label, position at the left of shape

ID assignment

There are several ways that you can assign an ID to an element, including:

Nested ID

When you draw something in a lane/pool, or to drill down a sub-process into another level and draw something, this forms a nested element hierarchy such like a task is contained by its parent pool. ID is formed nested according to the hierarchy. For instance, while a pool has '3' as ID, its children have 3.1, 3.2... as IDs. You can turn this function on and off.

To turn on or off, right click on a BPD and select Diagram Content > Edit IDs... from the popup menu. At the bottom of the dialog box, check or uncheck the option Sub-Level ID.

Setting task/sub-process/gateway/event type

To change the type of task/sub-process/gateway/event, right click on the shape and select Type, and then the target type from the pop-up menu.

Select task type
Select task type

Setting loop type for task and sub-process

To set the loop type for task/sub-process, right click on the shape and select Open Specification... from the pop-up menu. In the specification dialog box, update the Loop Type selection and click OK button to confirm editing.

Edit the loop type
Edit the loop type