web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get response from Powe...
Power Apps
Answered

Get response from Power Automate and show in Canvas App - HELP

(0) ShareShare
ReportReport
Posted on by 26

Hi

 

I hope someone can help.

 

I have a flow that is run and have set some error handling to send error text ack to the app.

 

What I am struggling to do is get the text of that response and store it in a variable in the app after flow runs.

 

hers is a snip of the flow response;

HarchR_0-1712071231215.png

 

Here is the code I am struggling with (highlighted). I want to get the error and put it in a variable called varFlowRunStatus, which I will show on the app screen. I will then remove the notify bit).

HarchR_1-1712071355854.png

 

Using the flowname.run seems to want me to input all the parameters again. Is this the problem? Do I have to reinput all the parameters again? I am worried that using that statement again in Set(0 will run the flow again??

 

Really appreciate any help.

Categories:
I have the same question (0)
  • Verified answer
    AldenKnibbs Profile Picture
    107 on at

    Have you reviewed the Return data to PowerApps from a flow | Microsoft Learn article on this topic? 

  • vkondreddygari Profile Picture
    88 on at

    You should capture the response of PA flow while you running the flow first time. You can check for error message later and notify users accordingly.

     

    The above code (in notify error section), flow will trigger again (which you don't want to).

  • HarchR Profile Picture
    26 on at

    Yep this helped thanks. I'll leave the soliton here for anyone else.

     

    Basically, the flow.Run is contained in a set global variable function. I can then use that variable elsewhere,.

    HarchR_0-1712146263155.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard