

Task C could be “Take a sunscreen”.Īnd weather neither hot nor sunny will give us ADEF in both options. What about sunny, but not hot weather? Again, both are identical and we get ACEF. To make it easier to remember let’s assume that it is a process of preparations for a walk and that task B is “Take a bottle of water”. How would your process log look like if we would have a hot (but not sunny) weather? For both types of gateways the result would be the same: ABEF. Please take a look at the image below and compare differences between XOR and OR gateways. That’s why we will normally use a pair of OR gateways – for splitting and merging – just like for AND gateways. Conditions of all paths are checked and each path which has a true condition gets a token.

However, XOR sends a token to a first path which has a true condition, so only one of the paths can be selected.įor OR gateway situation is different. So while in practice we would expect the conditions to be mutually exclusive, in theory it could happen that two of them are true at the same time. Now, let’s take a look at the conditions on the outgoing paths.įor XOR gateway token would take a first path with a condition which is true. The same applies to OR gateway – there can be 2, 3, or more paths. Let’s start by comparing OR gateway with XOR.įor XOR gateway you could have many paths outgoing from the gateway.

It’s easy to recognize the OR gateways since they are diamonds with a circle inside (you can think that this marker is a slightly distorted “O”). You could say that OR gateway behaves like a (compact) mix of XOR and AND gateways. Inclusive gateways (commonly called OR) can be used to show that certain paths will always happen and others only sometimes – depending on certain conditions. Now, it’s time to tackle more sophisticated situations. So far, we covered the simple flow ( part 1), situations where only one of the alternative paths could be selected ( part 2), as well as cases when all paths outgoing from a parallel gateway need to complete before the process can continue after the merge ( part 3).
Bpm peter gabriel in your eyes series#
This post is a part four of the series about token and process flows in BPMN.
