| title | Create Variable |
|---|---|
| space | Mendix 7 Reference Guide |
| parent | variable-activities |
With the 'Create Variable' action you can create a new variable and assign a value to it.
See Microflow Element Common Properties for properties that all activities share (e.g. caption). This page only describes the properties specific to the action.
{% endmarkdown %}
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.
Defines the initial value of the variable. The value is entered using a microflow expression. The result of the microflow expression should match the data type of the variable.
Variable name defines the name of the resulting variable. The variable can be used by all activities following this activity in the flow.