GETVARIABLE
The GETVARIABLE function retrieves the value associated to a flow variable.
This function returns an empty value if the flow variable has not been defined, or if it has been deleted prior to making this function invocation. Otherwise, it returns the associated value of the flow variable to the map in text format. The value associated to a special (reserved or internal) flow variable can be retrieved with this function for further transformation purposes.
- Syntax:
- GETVARIABLE GETVARIABLE ( single-text-expression )
- Meaning:
- GETVARIABLE GETVARIABLE ( variable_name )
- Returns:
- A single text item
Examples
- flowlib GETVARIABLE “interest.rate”, “10” )
Returns the current value of custom flow variable, interest.rate, to the map.
- flowlib GETVARIABLE( “_FLOWINSTANCE_” )
Special flow variables start and end with underscore. Returns the value of the special (reserved or internal) flow variable, _FLOWINSTANCE_ to the map.