Adding call behaviors to activity diagrams

When you model the flow of control in an activity diagram, you can add call behavior nodes that reference behavior that is defined in other diagrams. You can create a reference to behavior in a new activity, state machine, or interaction diagram or create a reference to behavior in an existing diagram.

An activity diagram must be open in the Modeling perspective.
To add a call behavior:
  1. In the Palette, in the Activity Diagram Drawer, click Call Behavior.
  2. Complete one of the following steps:
    • To reference a behavior in a new diagram, click Create New Activity, Create New State Machine, or Create New Interaction. The resulting new behavior is owned by the activity.
    • To reference a behavior in an existing diagram, click Select Existing Element and in the Select Element window, click an element and click OK.
  3. Type a name for the call behavior and press Enter.
Related concepts
Call behaviors
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.