ibm Rational Rhapsody 7.5 — Opening a subactivity diagram

Activity diagrams The icon in the lower right corner indicates that the action block has a subchart. Subactivities Subactivities represent nested activity diagrams. Subactivities represent the execution of a non- atomic sequence of steps of some duration nested within another activity. Internally, a subactivity consists of a set of actions, and possibly a wait for events. In other words, a subactivity is a hierarchical action during which an associated subactivity diagram is executed. Therefore, a subactivity is a submachine state that executes an activity diagram. The nested activity diagram must have an initial (default) state and a final activity (see Local termination semantics ).

When an input activity flow to the subactivity is triggered, execution begins with the initial state of the nested activity diagram. The outgoing activity flows from a subactivity are enabled when the final activity of the nested activity diagram is reached (when the activity completes) or when triggering events occur on the transitions. Because states in activity diagrams normally do not have triggering events, subactivities are normally exited when their nested graph is finished. Many subactivities can start a single-nested activity diagram. Creating a subactivity To draw a subactivity: 1. Click the Subactivity button on Diagram Tools . 2.

Click (or click-and-drag) in the activity diagram to place the subactivity at the intended location. A subactivity looks like an action. Opening a subactivity diagram To open a subactivity diagram, right-click the subactivity and select Open Sub Activity Diagram . 630 User Guide