Application variables
Application variables are global persistent string-typed variables that can be set and referenced in scenarios. Persistant means that the values are stored in the metadata repository and can be accessed after InfoLink is restarted or application is cloned.
- To set the value of an application variable, use
SetVariableoperation. Specify any name and value. The variable is created on the first set operation - no need to declare application variables. The value is a template literal that can reference other variables and source queries. - You can reference application variables from the parameters of operations because operation parameters are template literals.
- Application variables are overloaded by scenario parameters: if application variable has the same name as a parameter of the scenario then the value of the scenario parameter will be used.
An example of application variable usage is to implement incremental data loading. Variable is used to store the time when data was last loaded. The variable will be then used to parameterize Transform (or Load) operation to retrieve only records modified since the last load.
Last updated on