For automation interface information about a Read Self Action, see
Action node (automation interface). For automation interface purposes, a Read Self Action is an Action Node that has its Node Type set to Read Self Action.
Every action is ultimately a part of some behavior, which is in turn optionally attached in some way to the specification of a classifier (for example, as the body of a method or as part of a state machine). When the behavior executes, it does so in the context of some specific host instance of that classifier. This action produces this host instance, if any, on its output pin. The type of the output pin is the classifier to which the behavior is associated in the user model.
Create a Read Self Action through a Modeler explorer pane or an Activity Diagram:
• In a Modeler pane, right-click an Activity or Structured Activity Node, point to New, point to Action Node, and then click Read Self Action.
• On an Activity Diagram: click the
Read Self Action toolbar button, and then click in free space or inside an Activity Partition, Interruptible Activity Region or Structured Activity Node.
To access the Read Self Action toolbar button, click the arrow in the split button that is to the right of the Accept Event Action button.
On creation of a Read Self Action, Modeler creates an Output Pin named Result Pin. You cannot delete this Output Pin, and you cannot create any other Output Pins or Input Pins on a Read Self Action.
When used on an Activity Diagram, a Read Self Action's notation is as follows.
The View Options on an Activity Diagram allow you to show or hide the Name, Action Type and Linked Item Name (not applicable). By default, the Action Type is shown. The view options are set through the Action Node entry.
Tell me more...
On an Activity Diagram, you can populate a Read Self Action's missing Activity Flows, Output Pins, Comments and Constraints: right-click the Read Self Action, point to Populate, and then click the appropriate command.
In the Dictionary pane, Read Self Actions are listed in the UML\Action Nodes folder.
In the Modeler panes, a short-cut symbol on the Read Self Action's icon indicates that the item is a stub.
The following sections provide information about how a Read Self Action is used in the model.
Properties
In addition to the standard properties a Read Self Action has these properties:
Control Flow- The Control Flow is owned jointly by the Read Self Action and the associated item. The access permissions you have to a Control Flow are determined by the access permissions you have to its source item.
Dependency- The Dependency is owned jointly by the Read Self Action and the other associated item. The access permissions you have to a Dependency are determined by the access permissions of the dependent item.
Exception Handler- The Exception Handler is owned jointly by the Read Self Action and the associated item. The access permissions you have to an Exception Handler are determined by the access permissions you have to its source item.
IO Flow- The IO Flow is owned jointly by the Read Self Action, the IO Flow's other linked item and the IO Flow's IO Item.
Output Pin- Only the Result Pin that Modeler creates on creation of the Read Self Action.