Gateways control the sequence flow of the process, and can split or merge the flow to show many decisions or simultaneous actions are required.
Symbol | Description |
---|---|
Exclusive gateway - Only one outgoing branch is performed, depending on the condition. | |
Parallel gateway - All outgoing branches are performed simultaneously. |
To create an object following the gateway, click a tool on
the gateway's context toolbar to create a task or other object after it in the control
flow:
To create a second object in a new branch, reselect the gateway and click and drag a tool on its context toolbar to place the second object in a suitable position. By preference its flow should depart from a different corner of the gateway symbol:
To specify a condition on a sequence flow connecting the
gateway to an object, select the flow and enter an appropriate value in the
Condition Alias field in the
Properties panel. The value is displayed in the diagram on
the sequence flow near to the gateway:
You should add a condition to all sequence flows leaving the gateway. You can add further
alternate sequence flows as necessary. In this example, once a purchase order is raised,
an exclusive gateway controls the subsequent sequence flow based on the value of the
order:
Symbol | Description |
---|---|
Exclusive gateway - Waits for one incoming branch to complete before continuing. | |
Parallel gateway - Waits for all incoming branches to complete before continuing. |
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. |