You can add a call behavior action to a SysML activity
diagram to invoke the behavior of another activity previously specified
in its own activity diagram.
Procedure
To create a call behavior in a systems engineering
activity diagram:
- Open the activity diagram.
- Click the Call Behavior button
.
- Click in the activity diagram where you want the call behavior.
- Change the name to refer to the corresponding activity,
or open the Features window. This action automatically sets the name
of the call behavior action.
- Select the Stereotype, or drag the
desired activity from the browser into position on the diagram.
- In the Reference field, select a
valid diagram activity. The call behavior must refer to valid activity.
The constraint is that you cannot leave the Reference field
blank. If it’s blank, when you generate the code, an error appears
in the Checks view.
