title | parent | tags | ||||
---|---|---|---|---|---|---|
Change Variable |
variable-activities |
|
{{% alert type="warning" %}} This activity can be used in both Microflows and Nanoflows. {{% /alert %}}
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:
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:
The variable which you want to change the value of.
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.
{{% snippet file="refguide8/microflow-common-section-link.md" %}}