Hi,
Response in Flow is not returning data inside power apps even the flow runs successfully. Attached images for reference. Could someone please help me here?
Solved! Go to Solution.
I just added "Table1" in the response body and it works.
Hello,
If you use Set(Variable; CIL_CL_Count.Run.... ) does variable contain the output?
Your image is showing an HTTP Response action. To send a response back to a Power App that kicked off a flow there is a specific action called Respond to a Power App or Flow. The HTTP response won't send anything back to Power Apps.
I was using the same "Response" action only to get the data from flow to app in several other apps. Also in Respond to power app action I can see only "Text" or "Date" or "Yes/No". There is no array or table.
To send more complex data back to Power Apps you would use text and send it as a JSON object. To use the HTTP response object to talk to the Power App you would need to invoke the Flow using an HTTP trigger. What kind of trigger are you using?
I am using power apps as trigger. Can I get something like "select * from table" to "Respond to power" action and see the data in power apps gallery?
Its probably not quite as simple as that, but yes that is possible.
Is there any documentation which I can follow? Previously this was simple to achieve using "Response". I am not sure why this became complex now.
I don't have any specific walkthrough to give you. As I said this worked, and still does if you invoke the flow using HTTP. I wasn't aware that it ever worked if you invoked the flow using a PowerApp trigger. I've always used the Respond to PowerApps to return content to PowerApps from a Flow invoked with a PowerApps trigger.
I did some more research and it looks like the examples do use the http response action. Here's a walkthrough.
https://powerapps.microsoft.com/en-us/blog/return-an-array-from-flow-to-powerapps-response-method/