{"id":29531,"date":"2021-08-11T15:05:53","date_gmt":"2021-08-11T14:05:53","guid":{"rendered":"https:\/\/multisite.korebots.com\/v9-0\/?p=29531"},"modified":"2021-08-11T15:05:53","modified_gmt":"2021-08-11T14:05:53","slug":"merge","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/v9-0\/docs\/process-apps\/flow\/logic\/merge\/","title":{"rendered":"Merge"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-weight: 400\">Merge logic helps you merge individual process flows into a common flow by defining business logic like <\/span><i><span style=\"font-weight: 400\">waiting for all or completing any<\/span><\/i><span style=\"font-weight: 400\"> flow. Merge is applicable only if <\/span><b>Execute all Branches<\/b><span style=\"font-weight: 400\"> is selected in the <\/span><i><span style=\"font-weight: 400\">Split <\/span><\/i><span style=\"font-weight: 400\">stencil depending on the use case. If <\/span><b>Execute on Condition<\/b><span style=\"font-weight: 400\"> is selected, it is not required to merge the branches as it follows only a single path\/branch.<\/span><\/p>\n<p><span style=\"font-weight: 400\">For example, let us consider a loan request. A customer has requested a loan and you require the customer\u2019s income documents, proof documents, and other documents to process the loan request. In a bank, income documents are collected by a team and proof documents are collected by another team. In this scenario, while building the process flow for this request, you must use the <\/span><b>Split <\/b><span style=\"font-weight: 400\">stencil to split the <\/span><i><span style=\"font-weight: 400\">documents requirement<\/span><\/i><span style=\"font-weight: 400\"> task into multiple branches depending on the documents required. Here, income documents to be collected are assigned to the income team (branch 1) and proof documents (branch 2) to be collected are assigned to the proof team. Ensure that while configuring the Split stencil, <\/span><b>Execute all Branches<\/b><span style=\"font-weight: 400\"> is selected to perform the merge action. After the execution of all branches and completion of tasks, you can merge branches.<\/span><\/p>\n<\/div><\/div><div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h4><b>Configure Merge Logic<\/b><\/h4>\n<p><span style=\"font-weight: 400\">To configure a Merge logic in the process flow, follow the below steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the left pane, you can find the <\/span><b>Logic <\/b><span style=\"font-weight: 400\">section. Drag and drop the <\/span><b>Merge <\/b><span style=\"font-weight: 400\">stencil from this section and place it below the respective flows on the builder.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><b>Merge <\/b><span style=\"font-weight: 400\">stencil to open the Merge window.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the Merge window, enter the following details:<\/span>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Name\u00a0 &#8211; Enter a name for the merge action.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Split Node to Merge From &#8211; The <\/span><span style=\"font-weight: 400\">system automatically takes the most recent parent split node. However, the user can s<\/span><span style=\"font-weight: 400\">elect the node from the <\/span><b>Split node to merge from <\/b><span style=\"font-weight: 400\">the <\/span><b>drop-down<\/b><span style=\"font-weight: 400\"> list.<\/span><\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Under the <\/span><b>Merge Logic<\/b><span style=\"font-weight: 400\"> section, select any of the below actions:<\/span>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Wait for All &#8211; If selected, the system performs the merge action after the execution of all contributing branches.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">First Input &#8211; If selected, the system performs the merge action after the execution of any one of the branches and all other branches will expire.<\/span><\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Close the Merge window.<\/span><\/li>\n<\/ol>\n<\/div><\/div><div class=\"w-message color_blue\"><div class=\"w-message-body\"><p>To perform the merge action, ensure to select Execute all Branches option while configuring the Split stencil.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Merge logic helps you merge individual process flows into a common flow by defining business logic like waiting for all or completing any flow. Merge is applicable only if Execute all Branches is selected in the Split stencil depending on the use case. If Execute on Condition is selected, it is not required to merge...","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[145],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/29531"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/comments?post=29531"}],"version-history":[{"count":1,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/29531\/revisions"}],"predecessor-version":[{"id":29532,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/29531\/revisions\/29532"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/media?parent=29531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/categories?post=29531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/tags?post=29531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}