Adding Call Operation actions

You can use in SysML call operation actions to invoke operations to be performed by blocks, or classes.

Procedure

To add call operation actions to systems engineering activity diagrams:

  1. Open the activity diagram.
  2. Right-click in the diagram drawing area to display the Features window for this diagram.
  3. Click the Call Operation button Call Operation button.
  4. Click in the activity drawing area where you want to place the call operation.
  5. Open the Features window and use either the Action field to specify the operation method (typically in a software programming language such as C++), or use the Operation field to select an existing operation on a block or class.

    For the call operation, you must specify a target and an operation.

    For the Target value, you can select only the model association ends and parts. If the Target field is left blank, then by default the target selected is the classifier that owns the activity

    Call Operation button

    The values displayed in the Operation drop down list are filtered based on your selection from the Target field. Select a valid operation, if not an error will appear.

Results

You might want to add action pins to the call operation. See Adding Action Pins to object nodes for more information.


Feedback