myString
String
"Hello,"
myInteger
Integer
10
myBoolean
Boolean
true
myArray
Array
["Apple", "Banana", "Cherry"]
myObject
Object
{ "name": "John", "age": 30, "isActive": true }
myFloat
Float
12.34
myString
:myString
"World!"
myInteger
:myInteger
5
myBoolean
:myBoolean
false
myArray
:myArray
"Date"
myObject
:@json(concat('{ "name": "', variables('myObject')?['name'], '", "age": ', add(variables('myObject')?['age'], 1), ',}'))
myFloat
:myFloat
2.12
200
{ "myString": "@{variables('myString')}", "myInteger": "@{variables('myInteger')}", "myBoolean": "@{variables('myBoolean')}", "myArray": "@{variables('myArray')}", "myObject": "@{variables('myObject')}" "myFloat": "@{variables('myFloat')}" }
This Logic App demonstrates the usage of all variable types in a single workflow. You can customize it further based on your requirements.
You can download the logic app template from the estudy247 GitHub repository – la-test-variables-08