How do you reference a variable in a Flow expression?
I have tried many variants and failed.
For example I set a VariableA and VariableB as strings and want to set VariableC as the concatenation.
The following did not work:
concat(VariableA,VariableB)
Maybe @v-micsh-msft can help on this one too, please?
Solved! Go to Solution.
Hi @Meneghino,
The expression should be as below:
concat(variables('VariableA'),variables('VariableB'))
To work with variables, we need first add Variables() to get the Variable output, then within the brackets we need to take use of single quotes to quote the variable name.
Regards,
Michael
Hi @Meneghino,
The expression should be as below:
concat(variables('VariableA'),variables('VariableB'))
To work with variables, we need first add Variables() to get the Variable output, then within the brackets we need to take use of single quotes to quote the variable name.
Regards,
Michael
Hi @v-micsh-msft, brilliant, it works!
I did think about that, but in the editor it did not change colour as it would for a recognised function, so I thought it was not.
Please see below, recognised functions become bold and blue, whereas variables does not change. But no error is given on update and all works.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
87 | |
57 | |
39 | |
35 | |
33 |
User | Count |
---|---|
79 | |
67 | |
57 | |
48 | |
41 |