Error handling and control logic for UI flows
UI flows is the new robotic process automation (RPA) capability in Power Automate. We recently announced the upcoming general availability of our RPA offering and you can read more about our recent announcement here.
We are excited to announce the availability of error handling and control logic for UI automation scripts.
With error handling, you can add resilience and robustness to your UI flows by adding parallel branches of execution. If there are certain steps within your UI automation that are more susceptible to failures or timeouts, you can add a parallel branch and define an alternate set of actions. Your parallel branch action could either be a new recording or a set of manual actions defined to handle the error in the previous UI flow step.
You can follow step-by-step instructions for introducing advanced error handling in your UI flows here.
With control logic, you can bring intelligence directly into your UI automation scripts. You can use control logic actions like condition, switch case and terminate actions directly within a UI flow. This would enable you to use dynamic content and expressions to route your UI flow execution based on different inputs. Those inputs could be values passed on from a flow triggering the UI flow or an output defined from a previous UI flow recording step.
You can follow step-by-step instructions for using advanced controls in your UI flows here.
Please do not forget to share any feedback at the Power Automate Community Forums and use “UI flows” label.