I'm building a flow I want to connect to power Apps. For a variable I've therefore asked power apps for the value, and set it to be an integer. To avoid the pesky thing with having to remake the entire flow should it require modification if I use it in power apps right away I've tried using the innbuild flow tester.
However, when I fill inn the parameter with a number, I get an error, where flow seems to read the integer input as a string...
so my question is, why? how do I work around this? is this at all intended? I know Power apps already is quite wonky with it's types and hate all and everything that has to do with type conversion(like string->int, or int->string), but yes, how do I work around this? I'd really like to test the flow in power automate before I try to implement it in my app.
Solved! Go to Solution.
Hi @Mats_1997 ,
When you are creating manual flow with input you need to select the input of type Number from the available options , otherwise it will be of type string , as a result you are getting the error when you are assigning this value to another integer variable.
Yes, as you can see I did mark his reply as the solution, it did indeed work to go to expression and write
int(triggerBody()['<name of your flow component asking for variable here>'])
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!