Activity diagram elements Completion activity flows An activity flow to a final activity is called a completion activity flow . Neither final states nor a final activity can have outgoing transitions. A completion activity flow does not have an explicit trigger, although it can have a guard condition. Drawing initial flows The default flow points to the state that the object, use case, or operation enters when the activity starts. To draw a default flow: 1. Click the Initial Flow button on Diagram Tools . 2. Click in the activity diagram outside the default state. 3. Drag the cursor to the edge of the default state of the activity and release the mouse button.
For more information on default flows, see Statecharts . Drawing loop activity flows Loop activity flows (also known as self transitions ) represent looping behavior in a program. Loop activity flows are often used on action blocks to indicate that the block should loop until some exit condition becomes true. To draw a loop activity flow: 1. Click the Loop Activity Flow button on Diagram Tools . 2. Click the edge of any kind of state. 3. Label the loop activity flow. For an example of an action block with a loop activity flow, see Creating a final activity . For more information on loop (self) transitions, see Statecharts . Rational Rhapsody 635