Adding calls to behaviors

You can add a call to a behavior in another activity diagram or to the entire activity diagram. You can add calls to both activity diagrams and subactivity diagrams.

About this task

To add a call, either click the Call Behavior button Call Behavior button on Diagram Tools, or drag-and-drop the activity (or activity diagram) from the browser into the activity diagram. IBM® Rational® Rhapsody® creates the call in the activity diagram and in the browser.

The called behavior has the same name as the called object. The called behavior, PushButton, is marked with an at-symbol icon, as shown in the following figure.Called behavior

The call behavior is displayed in the project browser under the activity diagram containing the behavior.

Browser with call behavior under the activity diagram

Feedback