Skip to main content

 

 

 

 
Language:
 
Service Studio version:
 
 
OutSystems

Invalid Variable Error

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • The Invalid Variable Error can be issued when you use widgets, such as an Input, Text Area, Switch, Checkbox, Radio Group, Dropdown, or Button Group widget, which require a valid value to be set for the Variable property. It can also be issued when you use the Assign Tool.

    Double-click on the error line in TrueChange to take you directly to the variable that is issuing the error.

    Unknown variable

    Cause

    Your module is using a variable that no longer exists.

    Recommended action

    You need to set a valid value for the Variable property.

    Use the Find tool to discover where the variable is being used and use an existing variable instead. Or, double-click on the error line in TrueChange to take you directly to the property containing the error.

    Unknown variable in <element>

    Cause

    Your module is using a variable that no longer exists.

    For example, you added an Input, Text Area, Switch, Checkbox, Radio Group, Dropdown, or Button Group widget, and set a value for the Variable property. That value was subsequently deleted.

    Recommended action

    You need to set a valid value for the Variable property.

    For example, for an Input, set a valid value for the Variable property.

    Location of Variable property of Input

    For a Radio Group, Text Area, Switch, Checkbox, Dropdown, or Button Group, set a valid value for the Variable property.

    Unknown variable in Assign

    Cause

    You added a Server Action and added logic to the flow by selecting Set variable. Then, in the Assign, you set the Value but did not set the Variable property.

    Recommended action

    You need to set a valid value for the Variable property of the Assign in the Server Action.

    Unknown variable in <Input_widget_name> Input

    Cause

    You added an Input widget and set the Variable property to a local variable. The local variable was subsequently deleted.

    Recommended action

    You need to set a valid value for the Variable property of the Input.

    Unknown object <Variable_name> in variable

    Cause

    You added a Client Action and added logic to the flow by selecting Set variable. Then, in the Assign, you set the Variable property to an input parameter, output parameter, local variable, or client variable. The parameter or variable was subsequently deleted.

    The error is also issued if you set the Variable property of the Assign to a Site Property.

    Recommended action

    You need to set a valid value for the Variable property of the Assign in the Client Action.

    • Was this article helpful?