I'm succesfully posting data from a canvas app to a power automate flow which is then posting that data to an azure logic app. I'm getting back a response which is stored in the power automate flow and trying to display that response in a results page in the canvas app. This is where the problem lies, I can't get the response to be displayed in the canvass app.
I've tried adding a respond to a power app or flow action in power automate and then Setting a variable before I call the flow like the following:
Set(varEmissionValue,'Copyof-Button->manual-invoke'.Run(Dropdown1.SelectedText.Value,Dropdown2.SelectedText.Value,Dropdown3.SelectedText.Value,Dropdown4.SelectedText.Value,TextInput2.Text,TextInput3.Text,Checkbox1.Value,Checkbox2.Value).emission)
.emission is where I'm getting a failure but when searchimg online and asking chatgpt they displayed similiar things and got no error.
Then in a text label to display the response I've put in the formula for text the variable varEmissionValue then I should be able to put . the outputs I've specified in the respond to a power app or flow value.
In your flow you called the output emissionvalue not emission, so you should use .emissionvalue when referencing it
If you type . after your bracket, it should be able to use intellisense to show which options you can use. Additionally, you can hover over your formula in the formula bar to see what the error details are, which you can then use to debug the issue.
Also, a fair bit of warning - chatGPT is not really that good with the PowerFx language, so you may be causing headaches for yourself there if you don't have the underlying knowledge to know when chatGPT is just talking crap - in many cases it will use functions that don't even exist in PowerFx, or will give factually incorrect information but state it as if it is fact - be warned! 🙂
Cheers,
Sancho
WarrenBelz
146,658
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional