If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.
Change Variable
Introduction
Change variable allows you to change the value of an existing variable. For example, if you have a $Discount variable that gives customers a 50% discount on certain items, you can change this variable and assign a new value to it. You can use this value to give new customers a bigger discount:
Properties
There are two sets of properties for this activity, those in the dialog box on the left, and those in the properties pane on the right:
The Change variable properties pane consists of the following sections:
Action Section
Variable
The variable which you want to change the value of.
Value
The new value for the variable. The value is entered using an expression. The type of the expression must be the same as the type of the selected variable.