{"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

Please do not forget to share any feedback at the\u00a0Power Automate Community Forums<\/a>\u00a0and use \u201cUI flows\u201d label.<\/p>\n

Happy automating!<\/p>\n","protected":false},"excerpt":{"rendered":"

Announcing the availability of error handling and control logic actions for UI flows.<\/p>\n","protected":false},"author":388,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","ms-ems-related-posts":[],"footnotes":""},"audience":[3378],"content-type":[3424],"job-role":[],"product":[3474],"property":[],"topic":[3421,3422],"coauthors":[2953],"class_list":["post-111034","post","type-post","status-publish","format-standard","hentry","audience-it-professional","content-type-news","product-power-automate","topic-application-modernization","topic-hyperautomation"],"yoast_head":"\nError handling and control logic for UI flows - Microsoft Power Platform Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error handling and control logic for UI flows - Microsoft Power Platform Blog\" \/>\n<meta property=\"og:description\" content=\"Announcing the availability of error handling and control logic actions for UI flows.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/advanced-error-handling-and-control-logic-for-ui-flows\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Power Platform Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-30T22:18:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-11T14:59:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2023\/12\/Microsoft-logo_rgb_c-gray_950-1.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"950\" \/>\n\t<meta property=\"og:image:height\" content=\"413\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rakesh Krishnan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rakesh Krishnan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/\"},\"author\":[{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/author\/rakesh-krishnan\/\",\"@type\":\"Person\",\"@name\":\"Rakesh Krishnan\"}],\"headline\":\"Error handling and control logic for UI flows\",\"datePublished\":\"2020-03-30T22:18:37+00:00\",\"dateModified\":\"2025-06-11T14:59:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/\"},\"wordCount\":261,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/\",\"name\":\"Error handling and control logic for UI flows - Microsoft Power Platform Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website\"},\"datePublished\":\"2020-03-30T22:18:37+00:00\",\"dateModified\":\"2025-06-11T14:59:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Error handling and control logic for UI flows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\",\"name\":\"Microsoft Power Platform Blog\",\"description\":\"Innovate with Business Apps\",\"publisher\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization\",\"name\":\"Microsoft Power Platform Blog\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png\",\"contentUrl\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png\",\"width\":194,\"height\":145,\"caption\":\"Microsoft Power Platform Blog\"},\"image\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/person\/8bcbd0a0832a86bfea21e9da8f509fce\",\"name\":\"Rakesh Krishnan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/1f9bf76af6dc9fe2ae1198e10063caba0743eb79922cc449cdfab418b9db1588?s=96&d=mm&r=gcde042a4ad6692a477f92e1ddbff8d48\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1f9bf76af6dc9fe2ae1198e10063caba0743eb79922cc449cdfab418b9db1588?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1f9bf76af6dc9fe2ae1198e10063caba0743eb79922cc449cdfab418b9db1588?s=96&d=mm&r=g\",\"caption\":\"Rakesh Krishnan\"},\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/author\/rakrish\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Error handling and control logic for UI flows - Microsoft Power Platform Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/","og_locale":"en_US","og_type":"article","og_title":"Error handling and control logic for UI flows - Microsoft Power Platform Blog","og_description":"Announcing the availability of error handling and control logic actions for UI flows.","og_url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-automate\/advanced-error-handling-and-control-logic-for-ui-flows\/","og_site_name":"Microsoft Power Platform Blog","article_published_time":"2020-03-30T22:18:37+00:00","article_modified_time":"2025-06-11T14:59:49+00:00","og_image":[{"width":950,"height":413,"url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2023\/12\/Microsoft-logo_rgb_c-gray_950-1.webp","type":"image\/png"}],"author":"Rakesh Krishnan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rakesh Krishnan","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/#article","isPartOf":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/"},"author":[{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/author\/rakesh-krishnan\/","@type":"Person","@name":"Rakesh Krishnan"}],"headline":"Error handling and control logic for UI flows","datePublished":"2020-03-30T22:18:37+00:00","dateModified":"2025-06-11T14:59:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/"},"wordCount":261,"commentCount":0,"publisher":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/","name":"Error handling and control logic for UI flows - Microsoft Power Platform Blog","isPartOf":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website"},"datePublished":"2020-03-30T22:18:37+00:00","dateModified":"2025-06-11T14:59:49+00:00","breadcrumb":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2020\/03\/30\/advanced-error-handling-and-control-logic-for-ui-flows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/"},{"@type":"ListItem","position":2,"name":"Error handling and control logic for UI flows"}]},{"@type":"WebSite","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/","name":"Microsoft Power Platform Blog","description":"Innovate with Business Apps","publisher":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization","name":"Microsoft Power Platform Blog","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png","contentUrl":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png","width":194,"height":145,"caption":"Microsoft Power Platform Blog"},"image":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/person\/8bcbd0a0832a86bfea21e9da8f509fce","name":"Rakesh Krishnan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1f9bf76af6dc9fe2ae1198e10063caba0743eb79922cc449cdfab418b9db1588?s=96&d=mm&r=gcde042a4ad6692a477f92e1ddbff8d48","url":"https:\/\/secure.gravatar.com\/avatar\/1f9bf76af6dc9fe2ae1198e10063caba0743eb79922cc449cdfab418b9db1588?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1f9bf76af6dc9fe2ae1198e10063caba0743eb79922cc449cdfab418b9db1588?s=96&d=mm&r=g","caption":"Rakesh Krishnan"},"url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/author\/rakrish\/"}]}},"bloginabox_animated_featured_image":null,"bloginabox_display_generated_audio":false,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Power Platform Blog","distributor_original_site_url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/111034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/users\/388"}],"replies":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/comments?post=111034"}],"version-history":[{"count":1,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/111034\/revisions"}],"predecessor-version":[{"id":130654,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/111034\/revisions\/130654"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/media?parent=111034"}],"wp:term":[{"taxonomy":"audience","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/audience?post=111034"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/content-type?post=111034"},{"taxonomy":"job-role","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/job-role?post=111034"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/product?post=111034"},{"taxonomy":"property","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/property?post=111034"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/topic?post=111034"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/coauthors?post=111034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}