Object Flow



Object Flows are used in Activity diagrams and State Machine diagrams. When used in an Activity diagram, an Object Flow connects two elements, with specific data passing through it. To view sample Activity diagrams using Object Flows, see the Object Flows in Activity Diagrams topic.

In State Machine diagrams, an Object Flow is a specification of a state flow or transition. It implies the passing of an Object instance between elements at run-time.

You can insert an Object Flow from the State or Activity pages of the Toolbox, or from the drop-down list of all relationships located in the header toolbar. You can also modify a transition connection to an Object Flow by selecting the ObjectFlow checkbox on the connection Properties dialog.

See the Control Flow topic for information on setting up Guards and Weights on Object Flows.

Toolbox Icon


See Also

Learn More

OMG UML Specification

The OMG UML specification (UML Superstructure Specification, v2.1.1, p. 389) states:

An object flow is an activity edge that only passes object and data tokens.