Hi,
I'm trying to get some response from power automate flow, but in powerApp i always has empty record.
Ok, what have i done so far:
I've a flow triggered from power apps which has some parameters and run child flow, flows seems to work as expected:
But when i run flow form power apps by that code:
UpdateContext({ InitializeApprovalResult: InitializeApproval.Run());
And try to make same conditional action on this:
If(InitializeApprovalResult.success, "something1", "something2");
Nothing happend, neither negative or positive condition result.
Additionaly my record variable after run flow is always empty:
I tried use UpadteContext() and Set() functions but i changes nothing ?
What i am doing wrong ?
Any thoughts on this?
I've recently run into this problem with respond to power apps. Does anyone know if this is still a bug to this date? I find it ridiculous that since 2020 this connector would still be a problem?
@Pstork1
I confirmed that worked!
I wanted to get the ID of a new item created on a Sharepoint List, replace the dynamic with a fixed number value, run it, then go back to the flow and change it back to the dynamic value.
For this instance, I changed the value format to ensure that the value was a number using the "inter() function.
MS did suggest a third workaround that seems to work for me. When running the flow with the response for the first time hard code any numbers that you are passing (rather than using variables). After you've run it once you can switch it back to variables and use the variables. Something about running it with static numbers the first time helps Power Apps set the schema correctly for the response coming from Power Automate. Its still a workaround, but in my experience it works. Also, in my experience bugs like these that involve two development teams take a very long time to get fixed.
Any status if the bug is fixed? I'm running into this same response issue.
Correct on both counts. I'm hoping MS can find the bug and fix it soon. I'll try to post back when I hear there is a patch coming.
Thanks, @Pstork1 ! And, while I am at it...thank you for all your other postings around the forum I've learned from. Your sharing of your experience and expertise is much appreciated!
I'm assuming my two workarounds are only:
1) Change the boolean and number output parameters to strings and do the conversion to bool and int once I get the values back over in PApps.
2) Use the HTTP Response action as described here: https://powerapps.microsoft.com/en-us/blog/return-an-array-from-flow-to-powerapps-response-method/
Do you have any other workarounds or warnings about those workarounds, @Pstork1 ?
There is a bug in the Respond to Power Apps. Numbers and Booleans don't work consistently as part of the return value. MS is working on it.
I have the same problem. I.e. I am getting a response in PApps from my Flow, but only the string parameters contain values. The boolean and the number parameters I'm trying to return show up inside the app as null despite the fact that testing the flow shows its output contains quatationMark-wrapped values (e.g. "250" and "true"). Per other forum posts, I tried wrapping the parameter values in an expression in Flow to attempt a force to numeric (integer), but nothing changed. The output of the respond action in Flow shows the Schema for the response with the appropriate data types for those two fields, so perhaps Flow is confusing PApps by providing the schema saying it will be a number but then it comes over like a string?
Here is the response action (image) plus the schema (below)
I am also facing the same issue . Let me know if you over come that
I'm return boolean value and number:
Should i reduce number of output parameters to just one ?
WarrenBelz
146,724
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,075
Most Valuable Professional