myStringString"Hello,"myIntegerInteger10myBooleanBooleantruemyArrayArray["Apple", "Banana", "Cherry"]myObjectObject{ "name": "John", "age": 30, "isActive": true }myFloatFloat12.34myString:myString"World!"myInteger:myInteger5myBoolean:myBooleanfalsemyArray:myArray"Date"myObject:@json(concat('{ "name": "', variables('myObject')?['name'], '", "age": ', add(variables('myObject')?['age'], 1), ',}'))myFloat:myFloat2.12200{ "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
