Working with Gateways

Gateways are used to control sequence flow. In the Modeling perspective, gateways are displayed as diamond-shaped boxes in the middle of sequence flows. The Modeling perspective supports AND, XOR and OR types of gateway connections. You can implicitly join or split the gateway depending on the sequence flow added. By default, an XOR gateway type gets created. You can create unlimited in and out sequence flow connections from gateways. Note that you can connect only activities and gateways with gateways.

For detail information on these gateways, please refer to the chapter Control Flow Control Flow of the Concepts handbook. Concepts Handbook in the Infinity Process Platform Documentation.

You can perform following operations on gateways:

Adding Gateways

You can add gateways from main toolbar and the flyout menus of activity, start event and gateway itself.

Click the Create Gateway icon in the main toolbar and drop it to swim lanes.


Figure: Create Gateway Icon from Main Toolbar

OR

Hover the mouse in proximity of already added Activity icon in swim lanes, click the Gateway icon in flyout menu and drop it in the swim lanes.


Figure: Create Gateway from Activity Flyout Menu

OR

Hover the mouse in proximity of already added Start Event icon in swim lanes, click the Gateway icon in flyout menu and drop it in the swim lanes.


Figure: Create Gateway from Event Flyout Menu

OR

Hover the mouse in proximity of already added Gateway icon in swim lanes, click the Gateway icon in flyout menu and drop it in the swim lanes.


Figure: Create Gateway from Gateway Flyout Menu

Using Gateway Flyout Menu

The gateway flyout menu is displayed when you hover the mouse in the proximity of the gateway added to swim lanes.


Figure: Gateway Flyout Menu

Menu Icon Menu Option Description
Delete Deletes the gateway.
XOR Gateway Changes the gateway icon into an XOR gateway, if applicable. Click the XOR icon to change the gateway type to XOR.
AND Gateway Changes the gateway icon into an AND gateway, if applicable. Click the AND icon to change the gateway type to AND.
OR Gateway Changes the gateway icon into an OR gateway, if applicable. Click the OR icon to change the gateway type to OR.
End Event Connects the end event icon to gateway. Click the End Event icon and drop it to swim lanes.
New Gateway Connects new gateway to existing one. Click the Gateway icon and drop it to swim lanes.
New Activity Connects activity to the gateway. Click the Activity icon and drop it to swim lanes.
Connect Starts a sequence flow or data flow with the gateway as the first anchor point.

Viewing and Editing Properties of Gateway

General Properties

To view and modify the properties of gateway, perform the following steps:

  1. Select the gateway in the swim lane. The properties window is displayed at the top-right corner of the swim lane.


    Figure: Gateway - General Properties

  2. Specify the properties:

Comments

You can add and delete comments in the gateway properties. Select the gateway in the swim lanes and click the Comments icon displayed at top right side of the diagram canvas.

Add comment in the text box and click Submit. The newest comment gets displayed at the top of the table.


Figure: Gateway - Comments

To delete the comment, select the comment and click the Delete icon. The user, who has submitted the comment, only that user can delete the comment. If the other user selects the comment or no comment is selected, the Delete icon remains in disabled state.

For more information, also refer to the chapter Working with Sequence Flows.