ibm Rational Rhapsody 7.5 — Creating an action block

Flow charts Displaying an action You can show the name, action, or description of the action in the flow chart. To specify which attribute to display: 1. Right-click the action and select Display Options to open the Display Options window. 2. Select the appropriate values and click OK . Action blocks Action blocks represent compound actions that can be decomposed into actions. Action blocks can show more detail than might be possible in a single, top-level action. You can also use pseudocode, text, or mathematical formulas as alternative notations.

Note that for action blocks, there must be a default flow at the start and a final activity at the end, and activity flows cannot cross the blocks boundaries to actions in the block (though they might enter and leave the block itself). The code generator will put blocks code in curly braces and this has language significance regarding variable scope and lifetime. Creating an action block To define the activity, draw an action block: 1. Click the Action Block button on Diagram Tools . 2. Click or click-and-drag in the flow chart to place the action block where you want it. Action blocks appear as rectangles on a flow chart. 3.

Draw actions and activity flows inside the action block to express the activity being modeled. 660 User Guide