Error Handling in Power Automate flows | Try Catch Scope Action
Oct 31, 2022 7:00 PM

Error Handling in Power Automate flows | Try Catch Scope Action

External YouTube Channel

In this Power Automate video, we will look at how to perform exception handling in cloud flows leveraging configure run after setting, using scopes as try & ...

In this Power Automate video, we will look at how to perform exception handling in cloud flows leveraging configure run after setting, using scopes as try & catch exception handling blocks, sending notifications for failed flows, specifying which actions failed or time out and the reason for the failure. We will also provide a link back to the flow run for the failed Power Automate flow instance.

Getting notifications when your flow has failed because of an error is critical to maintaining business continuity. Also, the notification should provide the cause of the error to help you resolve it quickly. This video will focus on how you can use Configure run after, an option that is available for flow actions, to help isolate errors.

The Configure run after option and email notification is beneficial in helping you swiftly resolve issues with your workflow run.

Use the Configure run after option to handle errors: You can identify which step failed and, if it did, bring that to your attention. You can get the error description, status, action etc. by using expressions like result & actions.

Power Automate Exception Handling video includes:

  • Standard flow failure notifications and analytics
  • Configure Run after setting to notify errors - Has Failed, Timed Out etc.
  • Terminate action to set flow status as failed
  • Using scopes to group actions together and handle errors - Try, Catch, Finally Scopes.
  • Handle flow errors inside apply to each loop.
  • Power Automate error handling flow template

More about this Topic

Best practices for error handling in Power Automate flows

Getting notifications when your flow has failed because of an error is critical to maintaining business continuity. Also, the notification should provide the cause of the error to help you resolve it quickly. This module will focus on how you can use Configure run after, an option that is available for flow actions, to help isolate errors. It also overviews the built-in error reports.

https://learn.microsoft.com/en-us/tra...

Download Error Handling Power Automate flow Template

https://github.com/rdorrani/Microsoft-Flow/blob/master/FlowTemplatewithErrorHandling_20221030232702.zip