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

Power Automate always return blank result to PowerApps

Here is my simple flow:

marcobb_0-1628475437176.png

The test flow aims at sending a random number to PowerApps. However, when accessing the return value in PowerApps, it always show a blank value. 

Set(randomnum, 'PowerAppsend-to-end'.Run())

randomnum.number = Blank

Why is the value blank? Any advice is much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

There is a longstanding bug in the return to Power Apps action.  Returning numbers doesn't work.  If you look at the return in the Monitor you will see that Power Apps is expecting a number, but the JSON is actually a string value.  So it comes in as a blank.  In the flow format the number as a string and return it that way, then cast it back to a number in Power Apps.



-------------------------------------------------------------------------
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

1 REPLY 1
Pstork1
Dual Super User III
Dual Super User III

There is a longstanding bug in the return to Power Apps action.  Returning numbers doesn't work.  If you look at the return in the Monitor you will see that Power Apps is expecting a number, but the JSON is actually a string value.  So it comes in as a blank.  In the flow format the number as a string and return it that way, then cast it back to a number in Power Apps.



-------------------------------------------------------------------------
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

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 (1,931)