1"use strict";(self.webpackChunkembedded_workflow_builder_docs=self.webpackChunkembedded_workflow_builder_docs||[]).push([["1803"],{20709(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>a,frontMatter:()=>c,contentTitle:()=>i,toc:()=>l,assets:()=>h});var s=JSON.parse('{"id":"connectors/branch","title":"Branch Connector","description":"Choose which step to execute next based on a condition or value","source":"@site/docs/connectors/branch.md","sourceDirName":"connectors","slug":"/connectors/branch","permalink":"/connectors/branch","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Branch Connector","sidebar_label":"Branch","description":"Choose which step to execute next based on a condition or value"},"sidebar":"docs","previous":{"title":"Box","permalink":"/connectors/box"},"next":{"title":"Bynder","permalink":"/connectors/bynder"}}'),r=t(74848),o=t(28453);let c={title:"Branch Connector",sidebar_label:"Branch",description:"Choose which step to execute next based on a condition or value"},i,h={},l=[{value:"Actions",id:"actions",level:2},{value:"If Condition is Met",id:"branchonexpression",level:3},{value:"If Value Equals",id:"branchonvalue",level:3},{value:"Select Executed Step Result",id:"selectexecutedstepresult",level:3}];function d(e){let n={a:"a",h2:"h2",h3:"h3",img:"img",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.img,{alt:"Branch",src:t(33853).A+"#connector-icon",width:"32",height:"32"}),"\nThe ",(0,r.jsx)(n.strong,{children:"branch"})," component allows you to add branching logic to your integration.\nThink of ",(0,r.jsx)(n.strong,{children:"branches"})," like if/then or ",(0,r.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch",children:"switch/case"})," programming statements.\nYour integration can follow one branch or another depending on the values of some config variables or results from previous steps."]}),"\n",(0,r.jsx)(n.h2,{id:"actions",children:"Actions"}),"\n",(0,r.jsx)(n.h3,{id:"branchonexpression",children:"If Condition is Met"}),"\n",(0,r.jsx)(n.p,{children:"Branch on Expression. Choose which step to execute next based on a condition."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Condition"}),(0,r.jsx)(n.td,{children:"The set of conditions to satisfy in order to branch."}),(0,r.jsx)(n.td,{})]})})]}),"\n",(0,r.jsx)(n.h3,{id:"branchonvalue",children:"If Value Equals"}),"\n",(0,r.jsx)(n.p,{children:"Branch on value. Choose which step to execute next based on a value."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Input Value"}),(0,r.jsx)(n.td,{children:"The value used for routing to a branch. This should reference a config variable or output from a previous step."}),(0,r.jsx)(n.td,{})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Branch Value Mapping"}),(0,r.jsx)(n.td,{children:"The branches that are associated with an expected value."}),(0,r.jsx)(n.td,{})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"selectexecutedstepresult",children:"Select Executed Step Result"}),"\n",(0,r.jsx)(n.p,{children:"Given a collection of step results, returns the results of whichever step was executed and returned a result."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Input"}),(0,r.jsx)(n.th,{children:"Comments"}),(0,r.jsx)(n.th,{children:"Default"})]})}),(0,r.jsx)(n.tbody,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"Step Result"}),(0,r.jsx)(n.td,{children:"The set of step results to consider when selecting a result from an executed step."}),(0,r.jsx)(n.td,{})]})})]})]})}function a(e={}){let{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},33853(e,n,t){t.d(n,{A:()=>s});let s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsSAAALEgHS3X78AAAF80lEQVRYha1X23MTVRhfQN8c8VnBGXyRd/4AXnzwoaUCLtDcNgmhKVJKu7nsJmlJiw8KlDJeH9QZX1Bn6jh4GREoUqGVi4JWRGJL0+xuLi29kTZpoc3lc75vs2FLkzSd8cycycnZc77f73y38x2GKdtgHcvCBvzFf9vZnufqDw/WmvjQabP7/s9G/t6wxRtOY8cxzhn40Glc87rx3POlZFTfQNvIMGxD/8smV+iU2RMec7RPgbNjNn/g6Azsb5sAmy9GHcc4h99wjcUTfmDkQ924l2SgLKiSRDAI6+nE24PP7Dty18eJSsrZOQf2wHjeKspZTlSWrIKc5QQ5ZxVlnMvTWCh8E+WsPTCWxz1WUU7XH/k7sG1bw7N62WUby/aop3Zee8nkHu53dqbA7k9kOa+ceQKogNZtPgVsuv9qVwnhHtzb2JkCk2t4YKejb5Meo+zJa7jvt3KCPOrsmANOkPG0y0CL4KICBpcEBpdcgkShC0Rmydkxi8QiNdz5rSU1EQwGaaLOenazVYyG0Z6cIC2VFFoAN3lk8HcnqOO4LAlRIVkoE2XXWc9v1mNi05xjg9Ur9TV0zKonLwfuU8DskeHw2zGYX8hBeiFHY5zDb+VJyEso2yrKfQzDaODrGLZH9XYjHwqgzSuBawRQ7WJXAvL5PHUckykqENBIIIaRH/IjpobN7Dr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O50nNukFaUWQSISFkEVEvxgjLxcAywZrnhV8zK0v0cOXQS36IpSxNBjFptWKu+w//QqJyrhYlkuKhQZqIlq7nu6N1yoJSKbe3LyCmV5mYfJ1eLDhKKDQrRivVjoeVyLe9SHSRpM7vv9Ow4NvKjHqOppVt9yV+QEOYXaWPk0k3RPM+n/eZoxWtM9TusOXtlsbLnXZfbqHqfBEo/T4PLHqaE1dKqmoXftj1MdixXPc0PzYI2ZH+o2u8OX8CazeMJp7IbW0BDN8UPde5sHa9byPP8PnrN+Gr4kz18AAAAASUVORK5CYII="},28453(e,n,t){t.d(n,{R:()=>c,x:()=>i});var s=t(96540);let r={},o=s.createContext(r);function c(e){let n=s.useContext(o);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.