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:
- Open the activity diagram.
- Right-click in the diagram drawing area to display the
Features window for this diagram.
- Click the Call Operation button
.
- Click in the activity drawing area where you want to place
the call operation.
- 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

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.