{"id":111034,"date":"2020-03-30T15:18:37","date_gmt":"2020-03-30T22:18:37","guid":{"rendered":""},"modified":"2025-06-11T07:59:49","modified_gmt":"2025-06-11T14:59:49","slug":"advanced-error-handling-and-control-logic-for-ui-flows","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/advanced-error-handling-and-control-logic-for-ui-flows\/","title":{"rendered":"Error handling and control logic for UI flows"},"content":{"rendered":"
UI flows is the new robotic process automation (RPA) capability in Power Automate. \u00a0We recently announced the upcoming general availability of our RPA offering and you can read more about our recent announcement here.<\/a><\/p>\n We are excited to announce the availability of error handling and control logic for UI automation scripts.<\/p>\n With\u00a0error handling<\/strong>, you can add resilience and robustness to your UI flows by adding parallel branches of execution. \u00a0If 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. \u00a0Your 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.<\/p>\n You can follow step-by-step instructions for introducing advanced error handling in your UI flows here.<\/a><\/p>\n With\u00a0control logic<\/strong>, you can bring intelligence directly into your UI automation scripts.\u00a0 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.<\/p>\n You can follow step-by-step instructions for using advanced controls in your UI flows here.<\/a><\/p>\n