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
Dual Super User

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
Dual Super User

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

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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

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