Hi,
I am trying to get a text from flow to powerApps using UpdateContext({FromFlow:PowerAppsAlone.Run(JSON(CollProductsAndTopics.Id))}) - and then i am using this "FromFlow" variable in my control, however it returns only true or false instead of the actual text.
What am i doing wrong here, i clear my browser cache as well as i checked my flow variable type which is string type.
It looks like you are trying to send an ID back to PowerApps from Flow. The ID in Flow will be formatted as an Integer and when you try to pass that back as a string it doesn't cast correctly. Try changing the Compose in your Respond to PowerApps to explicitly format the ID as Text.
You should also check a previous run to make sure what the value is that is being passed into Flow. It looks like you are passing a JSON object which you are then storing in the variable and passing back.
Thank you @Pstork1 for the response, i am sending a alfa-numeric id from powerapps to flow and flow receives it as specified in below image.
Still it says true or false.
This is what i am using on powerApps to send the data. UpdateContext({FromFlow:PowerAppsAlone.Run(lblCustomID.Text)})
Regarding your follow up email, I didn't get solution yet, so can't accept it as solution.
Did you solve this? I am also getting a Boolean value instead of Integer or string.
Try using an HTTP Response Action instead of the Respond to Power Apps. The Respond to Power Apps has a tendancy to send back a Boolean status code instead of the value you want.
Hello,
Did you solve this? I have the exact same problem, using the Respond to Powerapps action as well as the HTTP Response action, no matter what kind of output I try (even only {"Id":1})
Would be very grateful!
I had no luck with the http response either 😞
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
194 | |
95 | |
61 | |
59 | |
58 |
User | Count |
---|---|
254 | |
164 | |
91 | |
79 | |
70 |