Configuring Runtime Variables
Not available in Factory Lite license.
Runtime variables are basically flow variables which can be imported into a flow from an external file, and whose life-cycle is limited to the duration of the computation, as they are not persisted in the database.
The Runtime Variables task facilitates importing these variables from an external files, which is particularly useful when you have a large number of flow variables whose values change frequently.
The flow must contain a task with a 2 column dataset, which has the names and values of attributes. This task can be imported as a Microsoft Excel file, but this format can cause issues if the "@" symbol is used in the file to reference other flow variables; in this case a CSV file is preferable.
The task must have a high priority in the flow, to ensure it is executed before other tasks, in order to apply the correct values to flow variables.
Each flow can contain only one Runtime Variables task.
Drag and drop the Runtime Variables task onto the stage.
Connect the Runtime Variables task to the task containing the two-column dataset with the flow variables names and values.
Double click the task, and configure it as described in the table below.
Save and compute the task.
Runtime Variables options:
Attribute for names
Select the column that contains the flow variable names from the drop-down list.
Attribute for values
Select the column that contains the flow variable values from the drop-down list.
Overwrite the current value if the variable is already defined
If selected, any values defined in the flow for flow variables with the same name, will be overwritten by the values defined here.
Activate Rulex 4 module names back compatibility
If a .prcx file is within the task, you can select this flag to convert it to .rfl
Once set, Runtime variables have priority over flow variables at runtime.
Consequently, when a workflow is executed, variable values will be taken from:
the corresponding runtime variable, if present
the corresponding flow variable, if present.
However, vault variables have priority over runtime variables.