cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Automate return blank data to PowerApps

I have a test flow to pass data back to PowerApps from Automate.

marcobb_0-1628476587318.png

 

However, the returned data is always blank even though the flow ran fine.

marcobb_2-1628477104923.png

Also, I can't find the field "success".

marcobb_1-1628476688797.png

 

Why is this happening? Any advice would be much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Are you saving the return value to a variable?  It should look something like this:

Set(myReturn, flowname.run())

There is also an issue returning numbers.  As you can see from the output of the JSON its a string, but Power Apps will be expecting a number so it won't work.  Its a long standing bug in the Respond to Power apps Action.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

Are you saving the return value to a variable?  It should look something like this:

Set(myReturn, flowname.run())

There is also an issue returning numbers.  As you can see from the output of the JSON its a string, but Power Apps will be expecting a number so it won't work.  Its a long standing bug in the Respond to Power apps Action.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Anonymous
Not applicable

Thank you for your reply! I didn't know that numbers cannot be passed. Also, I could get the result using your method after removing and re-adding the flow. I think that helps to refresh variables.

Pstork1
Dual Super User III
Dual Super User III

Removing and re-adding the flow is required if you make any changes to the flow, particularly in terms of input or output parameters.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,353)