|Previous||UML Classes||Table of Contents||UML Packages||Next|
A flow final node is a final node that terminates a flow.
FinalNode (from IntermediateActivities ) on page 387
A flow final destroys all tokens that arrive at it. It has no effect on other flows in the activity.
No additional attributes
No additional associations
No additional constraints
Flow final destroys tokens flowing into it.
The notation for flow final is illustrated below.
Figure 12.92 - Flow final notation
In the example below, it is assumed that many components can be built and installed. Here, the Build Component behavior occurs
iteratively for each component. When the last component is built, the end of the building iteration is indicated with a flow
final. However, even though all component building has come to an end, other behaviors are still executing (such as Install
[more components componentsto be built] to be built]
Figure 12.93 - Flow final example without merge edge
Flow final nodes are introduced to model termination of a flow in an activity.
Flow final is new in UML 2.0.