Blog Posts Process Management Service Oriented Architecture (SOA)

Essential And Redundant BPMN Elements: Gateways

Blog: Process is the Main Thing - Anatoly Belychook

Complete BPMN palette includes hundreds of elements if all allowed combinations are counted. Seasoned professional should know the semantics and usage rules of any but at the same time shouldn’t seek to use them all.

Firstly, exotic elements would make the diagram less comprehensible for business users, leading to refusal in some cases. Probably the biggest BPMN advantage is that it’s both intuitive and strict enough, allowing business users, analysts and IT developers to be on the same page. But this is going to happen only if a good style and healthy minimalism are followed.

Secondly, if BPMS powered processes are considered, no engine implements BPMN completely and strictly. Hence the popular questions: how critical is a given BPMN element being not supported? Is there a workaround?

In this article we’ll investigate BPMN gateways – which ones are must-have and how others can be workarounded. The other BPMN elements will follow.

1. Exclusive gateway (data based)

We won’t try to substitute this one of course.

Side note: empty diamond and the one with a slanted cross inside are just two alternative graphical representations of the same element. It’s pretty obvious that it’s better to follow either one or another style throughout the diagram (or the organization, on that matter).

2. Parallel gateway

The parallel gateway is essential too.

3. Inclusive gateway

Can be replaced by a combination of exclusive and parallel:

=

Inclusive gateway is useful because it models a specific and common enough business scenario: a set of independent options; the alternative diagram presented on the right is more cumbersome. On the other hand, the novice users would hardly get the diagram on the left without explanations.

The process engine may encounter difficulties synchronizing flows at the merge gateway; from this point of view the diagram on the right may have preference, too.

4. Complex gateway

Complex gateway controls tokens on merge. Can be replaced by a pair of exclusive gateways:

=

5. Event-based gateway (exclusive)

Can be replaced with the help of a subprocess:

=

This technique borrowed from Bruce Silver can be used for any combination of events.

If one of the events is message catch then a simpler hint may be used:

6. Start (instantiating) exclusive event-based gateway

=

Both styles should be avoided because 1) they aren’t obvious for business users and 2) most BPMS can’t execute them anyway. Better model flows from each event as a separate process and leverage reusable/call subprocesses.

7. Start (instantiating) parallel event-based gateway

=

This gateway mostly has purely academic value.

Conclusions

It’s basically enough to have just exclusive and parallel gateways. Others may help building more compact diagrams yet their value is diminished by the fact that an average reader not trained in BPMN would hardly understand them.

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/essential-and-redundant-bpmn-elements-gateways-2/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×