Modeling a Data Writing Action
Writing persistent or temporary data with an action can be modeled using an object flow from the data writing action to the data object.
Context
To express than an action writes data, create an object flow from the direction of the writing action to a data object.
The storage of persistent data is modeled with a data store. Temporary data are stored in a buffer node.
Tip
You can also create both the object flow edge and data store/buffer node diagram elements at the same time by starting the object flow at the action the data will be written from using the "carousel" and releasing the left mouse button on a free point in the diagram.
How to proceed
-
Select the writing action in the diagram.
The selected action is outlined with a blue frame and the carousel appears.
-
Select the
object flow edge icon from the carousel and keep the left mouse button pressed.
-
Drag the icon in the direction of the data store or buffer node to be connected with the left mouse button pressed.
-
Release the mouse button over the node that the object flow edge should flow into.
The object flow edge is created. As with almost all model elements, it has a logical name; however, this is not relevant for the modeling and is not visible in the diagram. You can immediately change the properties of the control flow edge using th
Properties tool window or the edge's context menu. An output pin of the same type as the linked data store or buffer node automatically appears for the writing action.