Exclusive Gateway Divergence
From Business Process Management, BPM and Workflow Automation Wiki | BizAgi BPMS
<keywords content="keywords">
exclusive, gateway, exclusive gateway, divergence element, convergence element
</keywords>
Contents |
Exclusive Gateway (Divergence element)
As a divergence shape, the Exclusive Gateway is used when two or more alternative paths appear at one point in the process, and just one of them is valid at a given time. Data-based decision of the system.
Example: In the Loan Request process, after validating whether or not the client has been reported in a blacklist, the process diverges depending on the result of the validation: |
Exclusive Gateways can also be represented with a marker diplayed in the center of the gateways diamonds(X). You can set that marker by right clicking on the shape and selecting the "Show Marker option"
Considerations
Two or more transition can exit this shape and one should be an “else” or a default line. The rest of the outgoing transitions are condition transition, that is to say, they have a business rule associated with them.
How to associate a business rule with transitions
Properties
Global Properties (name, display name, description, help text).
Exclusive Gateway (convergence element)
As a point of convergence, this shape is used to synchronize the paths exiting the exclusive gateway (divergence element), or to make sure as soon as ONE token reaches, the flow will continue.
In this case, many transitions can reach an activity, but just one of the paths is possible at an instant in time. Synchronization using this shape is only necessary before synchronizing a Parallel gateway or a Inclusive Gateway and one of the branches has forked.
Example: Only in certain situations are exclusive gateway (convergence element) shapes used. If an exclusive gateway precedes a Parallel gateway (divergence element), make sure all the paths are properly synchronized. That is to say, the number of transitions that enter a Parallel gateway should match the number of transitions that exit a Parallel gateway (divergence element) that is being synchronized. In the following diagram, three paths exit the Parallel gateway (divergence element) and three paths are subsequently synchronized. If the exclusive gateway were not synchronized, four transitions would enter the Parallel gateway (convergence element) which would be wrong, given the fact that the process would be waiting for 4 paths that would never be completed. |
Considerations
This figure is also used to synchronize paths that exit an event-based gate.
Properties
Global Properties (name, display name, description, help text).
<comments />