Gateways control the sequence flow of the process, and can merge or split the flow as dictated by the gateway conditions.
By default, an exclusive gateway is created. To change the type of gateway, click the Properties tool and select a type from the list. In BPMN 2.0 Executable, PowerDesigner supports these types of gateways:
Symbol | Description |
---|---|
Normal/Exclusive gateway - When splitting, routes the flow to one outgoing branch. When merging, waits for one incoming branch to complete before triggering the outgoing flow. | |
Parallel gateway - When splitting, activates all outgoing branches simultaneously. When merging, waits for all incoming branches to complete. | |
Inclusive gateway - When splitting, activates one or more branches. When merging, waits for all incoming branches to complete before merging. | |
Event-based gateway - Followed by catching events or receive tasks and routes the flow to whichever of these happens first. | |
Exclusive event-based gateway - Starts a new process instance for each occurrence of a subsequent event. | |
Parallel event-based gateway - Starts a new process instance for the occurrence of all subsequent events. | |
Complex gateway - Treats complex merging or branching behavior not covered by other gateways. |
Gateways can have the following properties:
Property | Description |
---|---|
Name/Code/Comment |
Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field. |
Direction | Specifies how the gateway may be used.
You can select:
|
Expression / Expression alias | Specifies the condition that will be evaluated to decide which path the process follows following the gateway. The alias provides a short version of the condition which is displayed under the gateway in the diagram. |