{"id":110831,"date":"2017-05-24T08:33:34","date_gmt":"2017-05-24T15:33:34","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/error-handling\/"},"modified":"2017-05-24T08:33:34","modified_gmt":"2017-05-24T15:33:34","slug":"error-handling","status":"publish","type":"power-automate","link":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/error-handling\/","title":{"rendered":"Error handling steps, counters, a new flow details experience and more"},"content":{"rendered":"

Error handling<\/h2>\n

From time-to-time, things don’t work out exactly as you expected in your flow — that’s where error handling comes in. With error handling, you can define any number of steps to run after the failure of an action. This powerful new feature will ensure that you can run even your most important business processes inside of Microsoft Flow.<\/p>\n

How to add an action after a failure<\/h3>\n

First, you’ll have to figure out which action you want to monitor for failures. If you already have actions after that step, you can add a new step after in parallel. In this example, let’s look at adding an error handling step for the Dynamics 365 action Create a new record<\/strong>:<\/p>\n

\"\"<\/p>\n

You can then select what action you want.\u00a0Once you have a new step, select the “…” menu at the top-right of the action and choose the\u00a0Configure run after<\/strong>\u00a0menu item:<\/p>\n

\"\"<\/p>\n

This will display the new options. You can define steps that run after:<\/p>\n