Flows

Flows transport the controls and objects in an activity.

Context

Object flows transport data to or from object nodes (see Object Nodes). Control flows transport control information between actions, control nodes (see Decisions and Merges, Synchronizations, and initials and finals in Activity Diagrams), or actions and control nodes.

Exception flows specify the path to take when an exception happens during the activity. To specify the alternative path to take when an interrupting action is invoked in an interruptible activity region (see Interruptible Activity Regions), use the exception flow.

Procedure

Select the Flow tool from the toolbox, and then click and drag from the source object to the target object. The default link type is either a control flow or an object flow, based on the type of objects you connect.

The following properties are available on the Info tab in the General category:

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 synchronized with the name. To decouple name-code synchronization, enter a new code in the Code field.

Source/Destination

Specify the objects that the flow points from and points to.

Flow Type

To change the flow to an exception flow, use the dropdown list. Alternatively, select the Change Link Type tool in the flow's context menu

On the Info tab in the Condition category, enter an Alias and Condition Expression for the flow as appropriate.

The other tabs such as Dependencies and Diagrams contain additional properties information. For details, see Object Properties.