UML Inclusive vs. Exclusive vs. Parallel gateway - difference
What is the difference between UML inclusive, exclusive and parallel gateway ?
Can you please provide some examples when should be each gateway used ?
In UML or BPMN, the gateways are used as a decision points, to apply some conditional logic. There is a way how to easily remember how they work:
Inclusive gateway - has "O" inside. It is used as a logical operator OR. Inclusive gateway is used to model decisions where one or more paths can be taken.
Exclusive gateway - has "X" inside. It is used as a logical operator XOR. Exclusive gateway is used to model decisions where only one path can be taken.
Parallel gateway - has "+" inside. It is used as a logical operator AND. Parallel gateway is used to model decisions where all paths are taken simultaneously.