Workflow Variables
The ports of the Workflow variables are located in the upper left corner of the Workflow construction area:
- Variables represent the final set of all Workflow variables listed below. Variables cannot be edited.
- System variables represent a set of variables of the operating system environment. It is read from the system settings. Variables cannot be edited.
- Session variables represent a set of variables of the current session. Variables cannot be edited.
- Package variables represent a set of variables of the current Package. Variables cannot be edited.
- User variables represent a set of variables set by the user of the current Workflow.
- enables to call the action menu of ports of the Workflow variables. It is used during the Workflow debugging.
Note: It is also possible to use the Workflow variables inside the Supernode. However, in this case, the "User variables" port contains its own set of variables used only inside the Supernode.
The action menu contains the following commands:
- Start processing provides the manual ports activations (the activated port contains data).
- Settings enable to open the dialog of configuration of the user variables values.
- Configure visualizers enables to open the dialog of the visualizers configuration.
- Other actions enable to call the context menu with the extended set of commands.
To call the context menu of the port, it is required to click on the port. The context menu contains the following commands:
- Quick view enables to call the variable watch window. The command is available after the port activation.
- Configure port enables to open the dialog of configuration of the variables values.
- Edit port captions enables to open the dialog of the port caption editing.
The variable with the same name can occur simultaneously in several ports. To exclude conflicts, the following priority is observed:
- User variables.
- Package variables.
- Session variables.
- System variables.
Thus, user variables have the highest priority.
For example:
- System variable USERNAME="PC-01$";
- User variable USERNAME="Smith".
The final set in the "Variables" port contains a list of all variables. Their values are calculated taking into account the priority specified above. The value of the USERNAME variable in it will be "Smith".