cancel
Showing results for 
Search instead for 
Did you mean: 

Flow Error handling inside Powerapps

Hi all

It seems when Powerapps invoke a Microsoft Flow, there is no way in Powerapps to take further actions depending on the Flow result... for example, show an error message in case Flow succeeded; or a confirmation message when Flow was executed properly (see https://powerusers.microsoft.com/t5/PowerApps-Forum/Error-handling-when-executing-a-Flow-from-Powera...).

 

On the other hand, some common features like Forms include Error Handling (OnSuccess & OnError properties).

Is it possible to implement a similar approach whenever a Flow is invoked from PowerApps?

 

 

 

 

Status: Completed

This is possible today thanks to two recent feature enhancements:

1. Respond to PowerApps (Action in Flow that returns outputs to PowerApps)

2. Run After (Feature in Flow)

 

Here is a video that demonstrates the Respond to PowerApps action:

https://powerusers.microsoft.com/t5/Community-Video-Gallery/Friday-Functions-Series-Get-Responses-fr...

 

Here is an article that discusses error management in Flow:

https://docs.microsoft.com/en-us/flow/fix-flow-failures

 

Thank you for your continued feedback,

Audrie

Comments
Level 8

This is a must in my opinion!

Level 8

In Flow, you can set up a response action that dictates what sort of JSON you want to write back out to PowerApps.

 

Then, in your defined Swagger API, you can return a strongly typed JSON back to PowerApps, which can then handle the event appropriately.

 

Flow (on top of LogicApps) has far better try/catch/unload capabilities via the Action Scopes.  You should handle your errors in Flow.

 

 

Flow Staff
Status changed to: Completed

This is possible today thanks to two recent feature enhancements:

1. Respond to PowerApps (Action in Flow that returns outputs to PowerApps)

2. Run After (Feature in Flow)

 

Here is a video that demonstrates the Respond to PowerApps action:

https://powerusers.microsoft.com/t5/Community-Video-Gallery/Friday-Functions-Series-Get-Responses-fr...

 

Here is an article that discusses error management in Flow:

https://docs.microsoft.com/en-us/flow/fix-flow-failures

 

Thank you for your continued feedback,

Audrie