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:
Following are the rules which need to be followed when connecting two elements:
The connect mode of the sequence flow is activated by:
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
When you hover the mouse over following elements the flyout menu gets activated.
You can connect elements using the flyout menu of each element.
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 Stardust 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
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.
Click on the conditional sequence flow to view its properties.
Figure: Conditional Sequence Flow - General Properties
The UUID and ID options are displayed only when you switch to Integrator profile.

Figure: Default Sequence Flow
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.
Figure: Condition Expression
The editor provides auto-completion functionality for:


Note
In case a gateway has more than one outgoing sequence flow and none of them has been marked as default, a validation
warning is displayed in the Problems tab of the model accordingly.

Figure: Warning if no default transition is set