{"id":873,"date":"2022-01-18T15:25:20","date_gmt":"2022-01-18T15:25:20","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=873"},"modified":"2022-08-02T18:39:25","modified_gmt":"2022-08-02T18:39:25","slug":"branch","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/branch\/","title":{"rendered":"Branch"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Allows splitting a flow into two paths based on condition. Corresponds to &#8220;<em>if &#8211; then &#8211; else<\/em>&#8221; instruction. Use it whenever it is needed to build evaluation criteria (e.f. whether Status is \u2018New\u2019, Quote is Approved etc.). Often used after start triggers like <a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/on-data-change\/\">On Data Change<\/a> to run the logic only upon specified conditions.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#deb7ca;\">\u0441ondition<\/span> \u2013 input criteria, boolean (<em>true<\/em>&nbsp;or<em>&nbsp;false<\/em>) value, based on which the&nbsp;<strong>True<\/strong>&nbsp;or&nbsp;<strong>False<\/strong>&nbsp;path is selected. Usually, a combination of <span style=\"color:#ec8f45;\">Conditional<\/span> and <span style=\"color:#ec8f45;\">Boolean<\/span> operators is used to obtain the value to use as an input for this port. Corresponds to IF in \u2018<em>if-then-else<\/em>&#8216; instruction.<\/p>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p>true &#8211; if the condition is&nbsp;<em>true<\/em>, the control flow is directed to the operator, to which this port is linked. Corresponds to THEN in \u2018if-then-else&#8217; instruction.<\/p>\n\n\n\n<p>false &#8211; if the condition is&nbsp;<em>false<\/em>, the control flow is directed to the operator, to which this port is linked.&nbsp;Corresponds to ELSE in \u2018if-then-else&#8217; instruction.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-49-4e77accf46244a2b959c77c5272dd9d9.png\" alt=\"\" class=\"wp-image-472\" width=\"770\" height=\"400\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-49-4e77accf46244a2b959c77c5272dd9d9.png 940w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-49-4e77accf46244a2b959c77c5272dd9d9-300x156.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-49-4e77accf46244a2b959c77c5272dd9d9-768x399.png 768w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/figure>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_873' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-873\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-9a96a844a9ce5' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-9a96a844a9ce5'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='873' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='60508256f2' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-9a96a844a9ce5\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"873\" \n                               id=\"yasr-stats-dashicon-9a96a844a9ce5\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-9a96a844a9ce5\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-9a96a844a9ce5\">0<\/span>  Average: <span id=\"yasr-vv-average-container-9a96a844a9ce5\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-9a96a844a9ce5' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-9a96a844a9ce5' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Allows splitting a flow into two paths based on condition. Corresponds to &#8220;if &#8211; then &#8211; else&#8221; instruction. Use it whenever it is needed to build evaluation criteria (e.f. whether Status is \u2018New\u2019, Quote is Approved etc.). Often used after start triggers like On Data Change to run the logic only upon specified conditions. inputs: &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/branch\/\"> <span class=\"screen-reader-text\">Branch<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-873","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=873"}],"version-history":[{"count":3,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/873\/revisions"}],"predecessor-version":[{"id":2031,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/873\/revisions\/2031"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=873"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}