Mendix 7 is no longer supported unless you have Extended Support (for details, please contact Mendix Support). Mendix 7 documentation will remain available for customers with Extended Support until July, 2024.

Create Variable

Last modified: June 29, 2022

1 Introduction

With this action, you can create a new variable and assign a value to it.

2 Action Properties

2.1 Data Type

Defines what kind of data can be stored in the variable. A variable can have one of the following data types: Boolean, Enumeration, Decimal, Float (deprecated), Integer/Long or String.

2.2 Initial Value

Defines the initial value of the variable. The value is entered using an expression (the result of the microflow expression should match the data type of the variable).

3 Output Properties

3.1 Variable Name

Variable name defines the name of the resulting variable. The variable can be used by all activities following this activity in the flow.