Calling an Operation

To call an operation, use the special action type Call Operation (CallOperationAction).

Context

To call an operation, use the special action type Call Operation (CallOperationAction). You can model operations for classes.

How to proceed

  1. Place the mouse pointer at the chosen position in the activity frame and select the Call operation template from the mini toolbar in the context menu.

    The Prerequisite dialog is opened and contains the operations already defined in your model.

  2. Select an existing operation or use the Create New Element button to create a missing operation. In this case, a wizard guides you through the necessary steps.

  3. Confirm your selection by clicking on the OK button.

    The call action is created and labeled with the name of the called operation. A respective input or output pin is automatically created at the call action for each of the operation's parameters.