DELETEVARIABLE

The DELETEVARIABLE

This function deletes a flow variable defined for a flow. Special (reserved or internal) flow variables cannot be deleted with this function. All flow variables, custom and special, are deleted by default when flow instance finishes its execution. Use this function when a flow variable must be removed from the visible scope of nodes in a flow execution. A flow variable has to be deleted as setting empty value does not affect the value or existence of the flow variable.

Syntax:
DELETEVARIABLE ( single-text-expression )
Meaning:
DELETEVARIABLE ( variable_name )
Returns:
NONE

Examples

  • flowlib ->DELETEVARIABLE ( “interest.rate” )

    Deletes flow variable, interest.rate, and returns empty (NONE)