You can add action pins that represent information or physical
objects flowing into or out of action nodes in SysML activity diagrams.
Procedure
You can also add ObjectNodes
to SysML activity diagrams. The object nodes are data
specifications.
The ObjectNode is related
to Action Pins and Activity Parameters,
which are all “data specifications”. An ObjectNode symbolizes
information or physical elements that flow between action nodes. ObjectNodes
serve as data specification of the object flows. Object
nodes can be accessed directly on the connected actions.
Note: Data
tokens can be routed by Decision, and the Control nodes,
such as Merge, Join, Fork nodes. The token is accessible
by the Decision Nodes using the keyword TOKEN in
the Properties view window.
You can
To
add elements representing the inputs and outputs in a systems engineering
activity diagram, you can use the Diagram Tools.
- You can drag and drop on the activity diagram Action
Pins, Call Operations, and so on.
You can click an action node to add a pin to represent an
input or output object. Use the Features window to specify the direction,In ,Out,
or InOut, of the pin and the type of object
flowing through the pin that is typically a block, type,
or valueType. You can connect the pin to the corresponding
pin or pins of other action nodes to define the sequence of actions
based on the object flow.
When the name of the outgoing pin
is RETURN, that means that the return value
of the operation is boolean. You should not create your own RETURN pin
because it is reserved for the return value of the operation.

The
action is passing TOKEN to another action.
The token passes the data between actions. Use the token to access
data on Decision nodes. The Decision nodes
do not have pins, so instead use the token to manipulate the data.
To have the action token oriented, see the "Simulation of token-based
activities by systems engineers" topic.
Note: When using call
behavior actions, pins can only be added to the action node by adding
them as pins to the corresponding activity. To display the newly added
pins, right-click the action node and select Update/Create
Activity Pins. You might also select the type of name
displayed for the pin using the Display Options option.
- To draw an object node, click the Object
Node button
, and click in the activity
diagram to position the node.- Display the Features window for the object node to select
a Stereotype, an In State,
and what the node Represents.
- To open the animated activity diagram, click on the Go
Action button