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

Respond to PowerApps - Potential Bug

Hello PowerApps Community,

 

I've been using a flow that is triggered by PowerApps button and wanted to put some error handling on it so users know if it ran successfully or not.

 

First, I noticed that trying to name the "Respond to PowerApps" action variable (of any type of response) will close all of the previous actions making it extreamly hard to type in. Then, if I save, close, and re-open the flow it doesn't save the variable name I typed in, it just defaults it to "number", "boolean", etc. I can't tell if this is a bug. Is anyone else experiencing this? It's happening on multiple different Office 365 tenants of mine. 

 

Second, when I get the flow added to a PowerApps button by follow these instructions, my flow runs successfully, but the PowerApp isn't getting the value that the flow says it passed back. 

 

Screen Shot 2019-08-26 at 1.10.58 PM.png

 

I've done this previously, so I know that there's a way to do this. Any thoughts or insights? Is anyone having difficulty with this?

15 REPLIES 15
Pstork1
Dual Super User III
Dual Super User III

I just did this with an app yesterday and didn't have any of the issues you are describing.  AS you can see from the following screenshot I have multiple actions openand am currently editing the dynamic data for the return value.  This is an App and Flow I built over the weekend.  I have seen the issue with getting the return value to register if I build the Flow and then add the return value later.  In those cases I remove the Flow from the PowerApp and re-add it and it works.  I'm not sure why its happening to you.  You might want to open a service ticket since it seems to be a local issue.

screenshot.png



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

I am also facing the second issue, the flow shows that it has responded, but within PowerApps all I receive is blank values. I tried boolean and number fields.

This is happening in one of the emea environments. My other environment with existing flows responding to PowerApps are working fine.

 

I tried responding with Text fields and that is working fine, I am just using this as a workaround for now.

Hi,

I can confirm the issue. I did the entire clear cache, rebuild flow, rebuild app, ... without success. When I used @NitinChhajer  workaround by adding a text response field with the same value, I received a response (ID is the Output of a SharePoint Create Folder action):

 

Respond To PowerApps.png

 

PowerApps response.png

 

Blank response.png

@Pstork1is this the right place to lodge a bug report?

Hi @Pstork1,

 

I'm intrigued by your screenshot here of capturing succeeded or failed on creating a SharePoint file, then returning this to PowerApps. I need to capture status for creating a new item in a SharePoint list. Can you please elaborate on how you designed the variables beneath the Create File in SharePoint action, and what's within the Status variable in the Respond to PowerApps action?

 

Thanks,

Carla

Pstork1
Dual Super User III
Dual Super User III

That screenshot is from @DennisKuhn1 , not me.



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

Hi @Pstork1,

Is the following screenshot not from you?

cmurray_0-1593702631214.png

Thanks,

Carla

Pstork1
Dual Super User III
Dual Super User III

Yes, that's my screenshot.  But the other one is more about capturing specific error or status codes.  I'm just storing whether the action succeeded or not in a variable and then returning that variable to 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.

Any update on this?

 

Just created a Flow that should respond:

Django_0-1600628812224.png

As a test I used the exact same Variable (an Integer) in the output but one Response Type is of Number and other Response Type  is Text. I put the Run Outcome of the Flow in a Power App Global Variable:

Django_1-1600628846216.png

As a variation  I even put the Number type in an Int() expression:

FlowRespondPoweApp_Response.png

I am amazed that somehting this simple still has a bug?

 

 

Pstork1
Dual Super User III
Dual Super User III

I do think there is a bug in the Respond to Power Apps somewhere.  But here is what I've gotten to work.  Make sure that the first and last properties of the return object are strings.  When I do that the JSON for the number being returned is actually a number.  If you look at yours its a string, which is why Power Apps thinks its null.  Here's the output from one of my test runs with a string, a number, and a string.  You'll see that the middle return value is a number, not a string.

image.png

image.png

 



-------------------------------------------------------------------------
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,319)