Call Operation Actions are used to call actions/operations from the activity diagram.

The quicklink feature of Enterprise Architect doesn't add the target pin for actions. Call Operation Actions created with the quicklink feature can't be used to call an operation on a foreign target.


A CallOperation Action consists usually of the following parts:

  • a "target" Pin to define the target instance you want to call
  • an InputPin for each parameter of the method to call (optional)
  • an OutputPin for the return value of the method (optional)

To "Call" the function you simply need to:

  • connect a ControlFlow to it to sepcify the action sequence
  • provide the data needed by the InputPins 
    • using the "DefaultValue" in Enterprise Architect or a ValuePin with an OpaqueExpression in MagicDraw.
    • connecting a ValueSpecification, ReadVariable,... or any other appropriate Action via an ObjectFlow
      (also check the Deriving ControlFlows feature added in version 3.3)
  • store the data provided by the OutputPins via ObjectFlow in an appropriate Action (optinal)
  • provide a "target" via the target Pin
    • if left as is Embedded Engineer will automtically assign me/this as target
    • using the "DefaultValue" in Enterprise Architect or a ValuePin with an OpaqueExpression in MagicDraw.
    • connecting a ReadSelf, ReadVariable,... or any other appropriate Action via an ObjectFlow
      (also check the Deriving ControlFlows feature added in version 3.3)


Example calling the "test" operation of the same class:

Also See

Call Behavior Action

Control Flow

Object Flow