BPMN in Action: Process Collaboration & Message Flow

A special feature of BPMN compared to other process modelling notation is the possibility to model process collaborations. A collaboration consists of two or more separate processes that communicate via message flow. A process can send a message that starts another process, or a message is sent to an existing process instance that has already been waiting for this message at a message-catching intermediate event.

It is common to use collaborations for modelling the interactions between different business partners, e. g. between the procurement process of a customer and the order handling process of a supplier. However, business partners usually don’t use a shared BPMS platform. Does it also make sense to use collaborations within a single organization – although the same behaviour could be achieved by modeling a single process with several lanes?

The answer is yes, since the separation into different processes supports loose coupling, process re-use and separation of concerns.

The video presents a model of a collaboration and its execution by a processes engine. It also shows how to use a correlation in order to make sure that messages are received by the correct process instances.

Weiterlesen

BPMN in Action: Subprocesses/Call Activities

What happens in the execution of a BPMN process, when an activity is reached that is marked with a small plus-symbol (+)? The plus-symbol indicates that the activity has another, detailed BPMN model attached. When the activity is reached, the process engine starts executing the attached model. When this detailed process is finished, the execution of the main process continues.

BPMN distinguishes between „real“ subprocesses and call activities. A subprocess is part of the top level process and can directly access its data. A call activity, on the other hand, calls a separate process. Therefore it is necessary to specify the data to be transferred to this process, as well as the data to be returned to the top level process.

Other than subprocesses, independent processes can be called by different call activities in different processes. Therefore it is possible to re-use processes with the help of call activities.

Since call activities are more flexible, some BPM systems don’t support subprocesses as a separate concept. The example in the video also contains a call activity.

Weiterlesen

BPMN: Inclusive Gateways Must Be Clever

In the previous post I have shown how the three most important gateway types behave when they are executed by a process engine. The inclusive gateway is very flexible. At an inclusive split, one or more exits can be selected. A corresponding inclusive merge waits until all selected paths have been completed.

However, what happens when there is another splitting gateway in one of these paths, so that in some cases the inclusive merge may not be reached via this path anymore? In order to ensure that such processes do not get stuck, inclusive gateways must be clever, since they need to determine via which paths they still can be reached.

In order to test this behavior, i have inserted a splitting exclusive gateway in the previous example.

Weiterlesen

Process Automation with BPM – Introductory Example

What exactly does it mean to execute a BPMN process? What else other than a process model is required for a useful process? I have created a little example for newcomers. It is explained in two videos. The project file can also be downloaded and executed in the community edition of the platform “Bonita”.

In the first video, the BPMN model is deployed to a process engine and executed. The video also shows how other required contents are specified: organization, data, user forms, decision rules and the integration of external systems.

Weiterlesen