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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard