{"id":7024,"date":"2023-02-28T07:20:06","date_gmt":"2023-02-28T07:20:06","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/salesforce\/?p=7024"},"modified":"2023-02-28T07:20:08","modified_gmt":"2023-02-28T07:20:08","slug":"use-of-fault-connector-in-flow-builder","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2023\/02\/28\/use-of-fault-connector-in-flow-builder\/","title":{"rendered":"Use Of Fault Connector in Flow Builder"},"content":{"rendered":"\n<p>In this blog, we are going to discuss the \u201cUse Of Fault Connector in Flow Builder\u201d in Salesforce flows. <\/p>\n\n\n\n<p>But let us first understand what is a flow. In Salesforce, a flow is a tool that automates complex business processes. Simply put, it collects data and then does something with that data. Flow Builder is\u00a0<strong>the declarative interface used to build individual flows<\/strong>. Flow Builder can be used to build code-like logic without using a programming language.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><em><span style=\"text-decoration: underline;\">Use Of Fault Connector in Flow Builder<\/span><\/em><\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>When your flow fails, the user Runs the flow and gets an error message like this.<\/li><\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/1.-Error-message-Template.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/1.-Error-message-Template.png\" alt=\"Error Message Template\"><\/a><\/center>\n<font size=\"2\"><center><i>Error Message Template <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\"><li>And the System admin who has created the flow will simply receive an alert message i.e a fault message to their email id.<\/li><li>It also shows the details of which elements of the flow got failed during the execution.<\/li><li>Now let&#8217;s talk about the use of an \u201c<strong>Unhandled Fault connector in a flow builder<\/strong>\u201d.<\/li><li>By using the <strong>fault connectors<\/strong>, you can add additional email addresses.<\/li><li>You can use the fault connector in the flow builder from any data or action elements from the flow sidebar.<\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em>If you want to create a fault connector in your flow, you have to simply make a second connection from your element after creating the first connection action from the flow.<\/em><\/p><\/blockquote>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/2.Fault-Connector.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/2.Fault-Connector.png\" alt=\"Fault Connector\"><\/a><\/center>\n<font size=\"2\"><center><i>Fault Connector <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\"><li>In the below image, We have just shown an action element to set its own customized error message so, that whenever the flow fails it will show the error message to the admin.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/li><li>Just add one action element to show your message.<\/li><\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/3.-Email-Action.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/3.-Email-Action.png\" alt=\"Email Action\"><\/a><\/center>\n<font size=\"2\"><center><i>Email Action <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\"><li>Add a new resource and create a <strong>Text template<\/strong> to show your <strong>customized Error message<\/strong>.<\/li><\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/4.-Text-Template.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/4.-Text-Template.png\" alt=\"Text Template\"><\/a><\/center>\n<font size=\"2\"><center><i>Text Template <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\"><li>Also by using fault connectors, it&#8217;s easy to handle the errors in your flows.<\/li><li>It&#8217;s more useful for users and gives the details so, that admins will understand the problems with their flows quickly.<\/li><li>Here is the use of <strong>{!Flow.FaultMessage}<\/strong> is the flow error where and on which element your flow fails,it will show the error message of that particular element.<\/li><li>And you will see your customized error message.<\/li><li>In the below image, you can see the flow fails on the update element, so it would be more helpful.<\/li><\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/5.-Customized-error.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2023\/01\/5.-Customized-error.png\" alt=\"Fault Connector in Flow Builder\"><\/a><\/center>\n<font size=\"2\"><center><i>Customized Error <\/i><\/center><\/font>\n\n\n\n<p>By following the above blog instructions, you will be able to &#8220;<strong>Use Fault Connector in Flow Builder<\/strong>\u201c. If you still have queries or any related problems, don\u2019t hesitate to contact us at&nbsp;<a href=\"mailto:salesforce@greytrix.com\" target=\"_blank\" rel=\"noreferrer noopener\">salesforce@greytrix.com<\/a>. More details about the Product are available on&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/gumu\/salesforce-sage-erp-integration\" target=\"_blank\" rel=\"noreferrer noopener\">our website<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noreferrer noopener\">Salesforce AppExchange<\/a>.<\/p>\n\n\n\n<p>We hope you may find this blog resourceful and helpful. However, if you still have concerns and need more help, please contact us at&nbsp;<a href=\"mailto:salesforce@greytrix.com\" target=\"_blank\" rel=\"noreferrer noopener\">salesforce@greytrix.com<\/a>.<\/p>\n\n\n\n<p style=\"text-align: justify\"><b>About Us<\/b><\/br>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> \u2013 a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.<br><br> Greytrix has some unique solutions for Cloud CRM such as <a href=\"\">Salesforce Sage integration<\/a> for <a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/integration\/\">Sage X3<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-100-integration\/\">Sage 100<\/a> and <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-300-integration\/\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/data-migration-support\/\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Integrated App development<\/a>, Custom App development and Technical Support business partners and end users. Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star rated app listed on <a href=\"https:\/\/appexchange.salesforce.com\/appxListingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<br> The GUMU&#x2122; Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.<br><br> For more information on our Salesforce products and services, contact us at <a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n\n\n\n<p><strong>&nbsp;Related Posts:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/12\/30\/how-to-call-an-apex-class-from-a-screen-flow\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to call an APEX Class from a Screen-Flo<\/a>w.<\/li><li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/10\/06\/how-to-use-email-template-in-standard-salesforce-flow\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to use Email Template in Standard Salesforce Flow<\/a>.<\/li><li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/08\/16\/clone-record-of-any-object-using-flows-in-salesforce\/\" target=\"_blank\" rel=\"noreferrer noopener\">Clone Record of Any Object using Flows in Salesforce<\/a>.<\/li><li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2022\/08\/29\/how-to-send-an-email-to-a-quote-owner\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Send an Email to a Quote Owner<\/a>.<\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we are going to discuss the \u201cUse Of Fault Connector in Flow Builder\u201d in Salesforce flows. But let us first understand what is a flow. In Salesforce, a flow is a tool that automates complex business processes. Simply put, it collects data and then does something with that data. Flow Builder is\u00a0the\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2023\/02\/28\/use-of-fault-connector-in-flow-builder\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[894,1294,110,1380,1224,1381,1378,367,1195,595],"class_list":["post-7024","post","type-post","status-publish","format-standard","hentry","category-salesforce-srv","tag-classic-email-templates","tag-email-alerts","tag-email-template","tag-fault-connector","tag-flow","tag-flowbuilder","tag-lightning-email-template-2","tag-salesforce","tag-salesforce-flows","tag-send-email-from-apex"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/7024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=7024"}],"version-history":[{"count":6,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/7024\/revisions"}],"predecessor-version":[{"id":7241,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/7024\/revisions\/7241"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=7024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=7024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=7024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}