Posts

Showing posts from November, 2021

Error handling in Power automate flows

Image
 This blog explains you how to use try catch action scope in Power Automate flow. Getting notification when your flow has failed is a critical feature that every business requires. Error handling in Power automate is done using scope action block. You can choose from one of the below three ways to start a flow, 1. Start from blank 2. Start from a template 3. Start from a connector Create a manual flow and add 2 scope try, catch to accomplish exception handling. Create a blank instant flow. Add a scope action in that flow. Rename that scope as "Try". Create an action "Send an Http request" and give the fake URL in the URI as shown below. Create another scope and name it as "Catch". This block contains the action to send notification in case of failure in try block. The flow is done, click on Save. Click on Test to test the flow. The flow is run and the output is as below. You can see that the action "Send an Http request" failed and the catch bloc...