cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mike8
Level 10

Return data to Powerapps issue

Hello everyone,

I am following the instructions of this:
https://powerapps.microsoft.com/en-us/blog/return-an-array-from-flow-to-powerapps-response-method/

Unfortunately instead of retrieving the records, I retrieve a True value.

This is the flow:

FlowEdit.PNGimage.pngHere is the expression that collects the data from the Flowimage.pngAs you can see the flow sends back data
image.pngHere is what the flow returns
Does anyone know why? I would like to have the data and not the true value.
Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Return data to Powerapps issue

Hi @Mike8,

 

Could you please share more details bout the apps you create to get the data from flow?

Have you collect the result of that flow to a collection?

 

I afraid that maybe there is something wrong on your apps.

Please check the configuration of your app and see if you have collect the result of that flow refer to the link you provided.

 

Capture.PNG

 

 

Please let me know if you find the problem and the issue could be solved.

 

 

Best regards,

Alice

11 REPLIES 11
Community Support Team
Community Support Team

Re: Return data to Powerapps issue

Hi @Mike8,

 

Could you please share more details bout the apps you create to get the data from flow?

Have you collect the result of that flow to a collection?

 

I afraid that maybe there is something wrong on your apps.

Please check the configuration of your app and see if you have collect the result of that flow refer to the link you provided.

 

Capture.PNG

 

 

Please let me know if you find the problem and the issue could be solved.

 

 

Best regards,

Alice

WPB
Level 8

Re: Return data to Powerapps issue

Why is this closed? Still return "True" when it's returning an Array from Flow. Have you found the solution?

SoftFeta
Level: Powered On

Re: Return data to Powerapps issue

Same issue.

Mike8
Level 10

Re: Return data to Powerapps issue

Hello,

I had my Response action wrong. I had forgotten to add the body. Silly mistake. Check your flow. I think it's going to be smth similar.

Kind regards,
Michalis

WPB
Level 8

Re: Return data to Powerapps issue

image.png

 

Response output is not empty and yet, all i get in PowerApps is 'True'.

Highlighted
Mike8
Level 10

Re: Return data to Powerapps issue

Can you try to go to View--> Datasources select the 3 dots of the flow you are refering to, remove it and add again?

SoftFeta
Level: Powered On

Re: Return data to Powerapps issue

The problem still persists.

SoftFeta
Level: Powered On

Re: Return data to Powerapps issue

@WPB wrote:

image.png

 

Response output is not empty and yet, all i get in PowerApps is 'True'.


 

Exactly!

Sru
Level 8

Re: Return data to Powerapps issue

Same issue, Problem with power apps returning values.

 

can some one help.

 

Thanks,
Sru

soziblewuup
Level: Power Up

Re: Return data to Powerapps issue

Hi, 

 

I'm bumping this as I've just spent around 5 hours trying to figure this out. Hopefully this may help someone. 

 

The answer for me was to simply recreate your Flow. For whatever reason, PowerApps doesn't play nice if your Flow is created before the PowerApp (?). I got to the stage of creating my Timer within the PowerApp (OnTimerEnd Runs the Flow and adds the response to a collection), deleted the existing Flow, recreated it manually, added the new Flow to OnTimerEnd from the Flow button in the command bar within the Action tab (I believe this is required to refresh the Flows available to you in the PowerApp), and built my ClearCollect function around it e.g. ClearCollect(Weather, WeatherFlow.Run("London")).

 

Gave that a test and it all worked, I now have data in my table not the boolean value of "True".  

WPB
Level 8

Re: Return data to Powerapps issue

I did everything to not use this method. I finally had no choice and my solution was:

1) Create a FLOW as I want it.

2) Using a button in PowerApps, run the flow to get a payload to generate the JSON

3) Create a brand new flow from a to z with the JSON.

4) Add the flow to PowerApps.

 

This returns me the table like I want it.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 223 members 4,647 guests
Please welcome our newest community members: