Variables

Data Types and Variables in MS Flow

A variable could store any type of data. Let's review data types.

Boolean

Integer

Float

String

Object

Array

 

Initialize variable

Initialize variable

Initialize variable action allows user to define a variable with the type listed above. Value field is initial value of the variable.

Set variable

Set variable

Set variable action allows user to set new value to a defined variable.

Append to array variable

Append to array variable

Append to array variable action adds a value into existing array. As result of above will be ["text1", "text2"] 

Append to string variable

Append to string variable

Append to string variable action combine the string value with current value of the variable. As result of above will be "text1text2" . 

Increment variable

Increment variable

Increment variable action increase the current value with entered value.  Lets say NumberVariable1 value is 5 and entered value is 3. Result will be 5+3=8 

Decrement variable

Decrement variable

Decrement variable action decrease the current value with entered value.  Lets say NumberVariable1 value is 5 and entered value is 2. Result will be 5-2=3