Creating a call operation action
You can create a Call Operation Action through an Activity Diagram or a Modeler pane.
If when you create the Call Operation Action you select an Operation that has Parameters, Modeler creates Input Pins and Output Pins on the Call Operation Action for those Parameters. If the Operation has a Return Type, Modeler creates an Output Pin named Return Pin, the Data Type of which is the Operation's Return Type. In addition, a Call Operation Action always has an Input Pin named Target Pin.
To create a call operation action through an activity diagram:
1. On the Activity Diagram tab, click the
Call Operation Action button, and then on the Activity Diagram click in free space or within an Activity Partition, Interruptible Activity Region or Structured Activity Node.
2. If you want to use an existing Operation as the Linked Item, select the Operation you want to use as the Linked Item, and then click OK. If you want to create a new Operation to use as the Linked Item, click New.
3. Type the name of the Call Operation Action, and then press the Enter key.
Alternatively:
1. Drag the Operation that is to be the Linked Item of the Call Operation Action from a Modeler pane to the Activity Diagram.
To create a call operation action through a Modeler pane:
1. In a Modeler pane, right-click the Activity or Structure Activity Node that is to own the Call Operation Action, and select > > .
2. If you want to use an existing Operation as the Linked Item, select the Operation you want to use as the Linked Item, and then click OK. If you want to create a new Operation to use as the Linked Item, click New.
3. Type the name of the Call Operation Action, and then press the Enter key.