cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kmk
Helper V
Helper V

How to get Flow status in to PowerApps

Hi Folks,

As per the requirement we have implemented a flow to read excel values and insert in to SQL table, this is working fine.

But actually requirement is flow has to trigger when button click from PowerApps form.

once flow executed should respond status(any status if any error also)it should show in powerApps.

1. There is no input parameters from powerapps to flow.

2. Only response status has to display in PowerApps.

what are action/steps that i need to add to or to put condition for status

 

powerappsflow.PNG

Help would be really appreciated.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
rsaikrishna
Community Champion
Community Champion

@kmk 

 

Here are the instructions for the communication between Power App and Flow:

https://docs.microsoft.com/en-us/business-applications-release-notes/april18/microsoft-flow/return-d...

 

In the Respond to Power Apps action, you can mention the key and value pairs which you are want use in your Power App.

 

Here is a sample:

Created a button and calling the flow as below. Setting the response from PowerAutomate into a variable. Whole response from the flow will be stored in the variable in Power App.

3.JPG

 

In the below screen shot: I am displaying the response from Power Automate.

 

4.JPG

 

Here is the flow:

5.JPG

 

I hope this will be helpful.

 

Regards

Krishna

View solution in original post

3 REPLIES 3
rsaikrishna
Community Champion
Community Champion

@kmk 

 

Here are the instructions for the communication between Power App and Flow:

https://docs.microsoft.com/en-us/business-applications-release-notes/april18/microsoft-flow/return-d...

 

In the Respond to Power Apps action, you can mention the key and value pairs which you are want use in your Power App.

 

Here is a sample:

Created a button and calling the flow as below. Setting the response from PowerAutomate into a variable. Whole response from the flow will be stored in the variable in Power App.

3.JPG

 

In the below screen shot: I am displaying the response from Power Automate.

 

4.JPG

 

Here is the flow:

5.JPG

 

I hope this will be helpful.

 

Regards

Krishna

Hi @rsaikrishna 

Thanks for your reply, yes it helps me.

 

CedricBachmann
Frequent Visitor

Hi all

This solution has some limitations. And also sometimes the respond to PowerApp times out after 2mins and won't respond anymore.

To get a "real time" Update into your App and to solve the timeout issue, i found this solution very helpful:
How to track the current progress of a flow in the PowerApp – Marcel Lehmann

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,620)