Working with sub-process

Sub-process is a standard BPMN notation that can be used to represent an activity within a business process. In this tutorial, we will take a look at some of the key actions you can perform on a sub-process.

May 26, 2010
User Rating: / 0
Views: 3,454
PDF Link Add comments
Edition: Modeler or above (Edition comparison)

Creating a sub-process

Create a business process diagram, with a start event and a task Announce Proposal. Connect them with sequence flow.

create simple bpd

To create a sub-process in a continued process flow, you can make use of the resource-centric interface. Simply move the mouse pointer over the shape you want to add a sub-process after it. Press on the resource icon for creating sub-process and drag it out. Release the mouse button and name the sub-process as Collect Opinion.

create sub process via resource

Select a type for the sub-process. This step is optional. But without setting the sub-process to be an embedded sub-process, we will not be able to connect with shapes within the sub-process. We will talk in more detail in section Connecting with shapes in sub-process. Now, right click on sub-process Collect Opinion and select Type > Embedded Sub-Process from the popup menu.

select sub process type

Expanding a sub-process

Task and sub-process are both activities in BPMN. Sub-process defers in that it lets you define finer level of process detail by mean of sub-process diagram. Now, drill down to the sub-process diagram by clicking on the plus button in sub-process.

drill down

This creates and opens a new business process diagram. Draw the diagram as shown below.

sub process diagram

Now, go back to the upper level by clicking on the shortcut at the top left of diagram.

click shortcut

You got a thumbnail of sub-process diagram show in the sub-process shape, like this:

sub process expanded

On a side note, if you do not want to show the sub-process content in top level, click on the minus button at the bottom of sub-process shape. But we do not do this now because we need an expanded sub-process shape in order to complete the next section.

collapse sub process

Connecting with shapes in sub-process

In a top level business process diagram, we may need to connect to shapes inside sub-process. Take this case as example, we need to connect a sequence flow with the Receive E-mail task to initiate it.

  1. Select Start Event from diagram toolbar.
    select start event
  2. Click on the sub-process. This creates and attaches the start event to the border of sub-process.
    click on subprocess
  3. Press on the end of the connector that is connecting to sub-process Collection Opinion.
    press on connector end
  4. Drag to the start event.
    drag to start event
  5. Select Sequence Flow in diagram toolbar.
    select sequence flow
  6. Press on the start event.
    press on start event
  7. Drag to Receive-Email and release the mouse button. You got a diagram like this:
    connected to receive email
  8. Repeat the previous step to create an end event that attaches to the sub-process border. Connect the task Forward to Responsible Person to the end event with a sequence flow. Create another end event outside the sub-process and make it connect with the previous end event. After all, the diagram become:
    final diagram

Forming a sub-process diagram with tasks

We many group several flow objects in a business process diagram as a sub-process. Let's try.

  1. Draw a new business process diagram like this:
    simple bpd
  2. Select tasks Receive Email, Give General Reply and Forward to Responsible Person.
    select tasks
  3. Right click on the selection and select Form Sub-Process Diagram from the popup menu.
    form sub process diagram
  4. The three tasks are now contained by sub-process. The top level diagram now looks like this:
    sub bpd formed

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. Drawing Data Flow Diagrams
  2. Develop as-is and to-be business process
  3. Drawing BPMN 2.0 business process diagram
  4. Define working procedures for business tasks in a business process diagram
  5. Introduction to BPMN Part I
Tags of this article:

Comments (4)

written by therevenge on May 31, 2010

Step 7th in tutorial is not draged, because we cann't activate sub tasks to connetc a link.

written by Jick on May 31, 2010

Hi therevenge,

Thank you for your post. Step 7 is correct. You should press on the START EVENT attaching the sub-process border and drag to the task inside the sub-process.

Best regards,
Jick

written by Gregory on December 16, 2010

Step 7 also does not work for me. I am unable to connect the start event to a task within the sub-process.

written by Jick on December 16, 2010

Hi Gregory,

Did you set the Sub-Process to be an Embedded Sub-Process as suggested in the third image? Please not, please have a try.

Best regards,
Jick

Write comment

Rating

Comment

Enter the calculation result

security code