Working with Sequence Flows

The sequence flow determines the execution sequence of activities. A sequence flow connects an element with its successor element. It also allows setting a condition - only if this condition is fulfilled at runtime the transition is processed and the next activity is executed.

This chapter covers the following:

Rules for Connecting Elements

Following are the rules which need to be followed when connecting two elements:

Event Connections

Activity Connections

Gateway Connections

Sequence Flow Activation and Deactivation

The connect mode of the sequence flow is activated by:

Creating Sequence Flow from Main Toolbar

Click the Create Connector icon in the main toolbar and hover the mouse over element. The starting and ending anchor points are established. Click on the elements between which you want to establish the sequence flow.

Figure: End Point - Connector

Creating Sequence Flow from Flyout Menu of all the Elements

When you hover the mouse over following elements the flyout menu gets activated.

You can connect elements using the flyout menu of each element.

Viewing Sequence Flow Properties

To view the sequence flow properties, click on the sequence flow.

Figure: Sequence Flow

The General Properties of a sequence flow gets displayed. You can specify description for the sequence flow.

Figure: Sequence Flow

Click the Transactional Behavior icon displayed at the left side of the General Properties pane of the Sequence Flow. The Transactional Behavior properties of the sequence flow get displayed.

Figure: Sequence Flow - Transactional Behavior

Select the Fork Transaction on Traversal check box to see the traversing during transition conditions. This option of a transition controls the synchronization and concurrency behavior during the execution of the corresponding process instances. Please refer to the section Activity Thread Activity Thread of the chapter Runtime Behavior Runtime Behavior in the Infinity Process Platform Documentation for detailed information on the Fork Transaction on Traversal functionality.

Click the Comments icon displayed at the top left side of the General Properties pane of the Sequence Flow. Specify the comment in the text box and click Submit. The newest comment gets displayed at the top of the table. 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.

Figure: Sequence Flow - Comment

Conditional Sequence Flow

The conditional sequence flow gets created on outgoing connection from gateway. The Modeling perspective supports setting conditional sequence flow only from gateways to activities. In place editing is not available for sequence flow.

Figure: Conditional Sequence Flow

You can specify conditional expressions only on outgoing connections of gateways.

Viewing Properties of Conditional Sequence Flow

Click on the conditional sequence flow to view its properties.

Figure: Conditional Sequence Flow - General Properties

Editing Condition Expressions

You can add conditions in the Condition Expression editor. This JavaScript based editor provides the option to add arithmetic, relational and logical operators as well as string matching operators.

Condition Expression
Figure: Condition Expression

The editor provides auto-completion functionality for: