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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,817)