Skip to main content

Notifications

Community site session details

Community site session details

Session Id : lzLbuZ+V0A7lVBU24M2l9O
Power Apps - Building Power Apps
Answered

Respond to a power app or flow / Variable help needed

Like (0) ShareShare
ReportReport
Posted on 28 Feb 2023 12:47:04 by 3

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.

  • Verified answer
    iAm_ManCat Profile Picture
    18,206 Most Valuable Professional on 28 Feb 2023 at 13:15:14
    Re: Respond to a power app or flow / Variable help needed

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started