Creating an output pin
You can create an Output Pin through an Activity Diagram or a Modeler pane.
* 
If you select a Parameter that has an 'in and out' mechanism, Modeler creates an Output Pin.
Modeler ensures that the name of an Output Pin matches the name of its linked item:
If you change the name of the Output Pin, Modeler changes the name of the linked item to match.
If you change the name of an Output Pin's linked item, Modeler changes the name of the Output Pin to match.
To create an output pin through an activity diagram:
1. On the Activity Diagram tab, click the Output Parameter / Pin button, and then on the Activity Diagram click the edge of one of the following items:
Activity Diagram frame (the owning Activity)
Call Behavior Action
Call Operation Action
Opaque Action
Send Signal Action
Structured Activity Node
For more information about what Output Pins can be created on and what the Linked Item is in each case, see Output pin (dictionary item).
2. From the popup menu that appears:
To add an existing Output Pin, click the command for that Output Pin.
To create a new Output Pin for an existing Attribute or Parameter: point to New Pin, and then click the command for the Attribute or Parameter for which you want to create a new Output Pin.
To create a new Output Pin and a new Attribute or Parameter: point to New Pin, and then click New Attribute or New Parameter.
If you click New Attribute or New Parameter, Modeler creates an Output Pin and also creates the Parameter or Attribute that is set up as the Output Pin's Linked Item:
For an Activity Diagram frame, Modeler creates a Parameter on the Activity that is linked to the frame.
For a Call Behavior Action, Modeler creates a Parameter on the Activity that is the Call Behavior Action's Linked Item.
For a Call Operation Action, Modeler creates a Parameter on the Operation that is the Call Operation Action's Linked Item.
For a Send Signal Action, Modeler creates an Attribute on the Signal that is the Send Signal Action's Linked Item.
* 
When you create an Output Pin on an Opaque Action or Structured Activity Node, a popup menu does not appear because the Output Pin does not have a Linked Item.
3. Type the name of the Output Pin, and then press the Enter key.
Alternatively:
Drag the Attribute or Parameter that is to be the Linked Item of the Output Pin from a Modeler pane to the edge of the item or frame on the diagram.
To create an output pin through a Modeler pane:
1. In a Modeler pane, right-click one of the following items, and select New > Object Node > Output Pin.
Activity
Call Behavior Action
Call Operation Action
Opaque Action
Send Signal Action
Structured Activity Node
For more information about what Output Pins can be created on and what the Linked Item is in each case, see Output pin (dictionary item).
2. From the popup menu that appears:
To add an existing Output Pin, click the command for that Output Pin.
To create a new Output Pin for an existing Attribute or Parameter: point to New Pin, and then click the command for the Attribute or Parameter for which you want to create a new Output Pin.
To create a new Output Pin and a new Attribute or Parameter: point to New Pin, and then click New Attribute or New Parameter.
If you click New Attribute or New Parameter, Modeler creates an Output Pin and also creates the Parameter or Attribute that is set up as the Output Pin's Linked Item:
For an Activity Diagram frame, Modeler creates a Parameter on the Activity that is linked to the frame.
For a Call Behavior Action, Modeler creates a Parameter on the Activity that is the Call Behavior Action's Linked Item.
For a Call Operation Action, Modeler creates a Parameter on the Operation that is the Call Operation Action's Linked Item.
For a Send Signal Action, Modeler creates an Attribute on the Signal that is the Send Signal Action's Linked Item.
* 
When you create an Output Pin on an Opaque Action or Structured Activity Node, a popup menu does not appear because the Output Pin does not have a Linked Item.
Was this helpful?