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?
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:
Here is an article that discusses error management in Flow:
Thank you for your continued feedback,
This is a must in my opinion!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.