Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.93 KB

File metadata and controls

45 lines (27 loc) · 1.93 KB
title url tags
Change Variable
/refguide9/change-variable/
studio pro
change variable
variable
variable activities

{{% alert color="warning" %}} This activity can be used in both Microflows and Nanoflows. {{% /alert %}}

1 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:

{{< figure src="/attachments/refguide9/modeling/application-logic/microflows-and-nanoflows/activities/variable-activities/change-variable/change-variable.png" alt="Change Variable" class="no-border" >}}

2 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:

{{< figure src="/attachments/refguide9/modeling/application-logic/microflows-and-nanoflows/activities/variable-activities/change-variable/change-variable-properties.png" alt="Change Variable Properties" class="no-border" >}}

The Change variable properties pane consists of the following sections:

3 Action Section {#action}

3.1 Variable

The variable which you want to change the value of.

3.2 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.

4 Common Section {#common}

{{% snippet file="/static/_includes/refguide9/microflow-common-section-link.md" %}}

5 Read More