Select the operation you want to use from the service panel. Drag & drop the operation to the operations flow in the execution pane.
| ||
When the operation has been added to the operations flow, the displayed pins indicate needed object flows.
| ||
Pins on the left of the action node indicate needed incoming object flow. | ||
Pins on the right indicate outgoing object flow. | ||
Now you need to connect the pins with the corresponding variables.
Depending on which data is required, you can use variables from the Persisted or Local section. Got to Adding Variables for more information on variables and the difference between persisted and local variables. | ||
Object flows on the execution pane are routed automatically. You can use the execution pane context menu to change the algorithm of the relation path. | ||
You can select an object flow to highlight it in blue - in larger models this helps to track the paths more easily. | ||
You can also hover over an object flow to highlight it in black. |
While dragging the object flow, the color of the pins changes to assist you with finding matching connection points.
When you start dragging an object flow, all pins of the same type and multiplicity are marked blue. Blue pins indicate that this pin is a valid target for the object flow. | |
White connection points of variables indicate that you are trying to connect variables that do not have the same type or multiplicity. The connection point is marked in white when you have reached it with the mouse pointer. | |
It is possible to draw an object flow to an invalid connection point but the relation will be invalid and displayed in red. | |
A pin turns red if an object flow cannot be created at all. You cannot
|
Operations can be static or non-static.
Static operations are like functions. They have no self context, and thus no target pin - only input, output, and return pins. | |
Non-static operations are related to a specific type. When added to the execution pane, they provide a target pin in addition to the parameters. Here, the user must provide an object of the related type. | |
To determine the target of a non-static operation, you can:
|