Power Automate Tip #14 : Handle Error
As you know Power Automate have plenty of connectors and some are third parties and they respond back with your expected result or maybe with some error message stating something is wrong. Sceanrios where we may need to handle two different things on success and on failure. Lets say we call a Adobe Compress to compress a PDF. The adobe typically sends back the compressed PDF content if the compression is successful. Check the use case here.
1. Scope the activity where you are making the call
2. Make a parallel step and use one for success and another for failure
3. On the success branch, overwrite the file (the compressed version)
4. On the failure, extract the output message and log it.
Comments