1"use strict";(self.webpackChunkembedded_workflow_builder_docs=self.webpackChunkembedded_workflow_builder_docs||[]).push([["4101"],{30607(e,t,n){n.r(t),n.d(t,{metadata:()=>o,default:()=>h,frontMatter:()=>r,contentTitle:()=>l,toc:()=>c,assets:()=>a});var o=JSON.parse('{"id":"connectors/loop","title":"Loop Connector","description":"Repeat a set of steps by iterating over items in a dataset or a fixed number of iterations","source":"@site/docs/connectors/loop.md","sourceDirName":"connectors","slug":"/connectors/loop","permalink":"/connectors/loop","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Loop Connector","sidebar_label":"Loop","description":"Repeat a set of steps by iterating over items in a dataset or a fixed number of iterations"},"sidebar":"docs","previous":{"title":"Log","permalink":"/connectors/log"},"next":{"title":"Mailchimp","permalink":"/connectors/mailchimp"}}'),s=n(74848),i=n(28453);let r={title:"Loop Connector",sidebar_label:"Loop",description:"Repeat a set of steps by iterating over items in a dataset or a fixed number of iterations"},l,a={},c=[{value:"Actions",id:"actions",level:2},{value:"Break Loop",id:"breakloop",level:3},{value:"Repeat for Each",id:"loopoveritems",level:3},{value:"Repeat X Times",id:"loopntimes",level:3}];function d(e){let t={h2:"h2",h3:"h3",img:"img",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.img,{alt:"Loop",src:n(31819).A+"#connector-icon",width:"32",height:"32"}),"\nThe ",(0,s.jsx)(t.strong,{children:"loop"})," component allows you to loop over a list of items or loop a specific number of times depending on which action is selected.\nThis is handy if you have a set of files or pieces of data to process.\nThe loop component can be set up execute a series of actions on each file or item in a list."]}),"\n",(0,s.jsx)(t.h2,{id:"actions",children:"Actions"}),"\n",(0,s.jsx)(t.h3,{id:"breakloop",children:"Break Loop"}),"\n",(0,s.jsx)(t.p,{children:"Breaks out of the current Loop, causing execution to resume after the containing Loop."}),"\n",(0,s.jsx)(t.h3,{id:"loopoveritems",children:"Repeat for Each"}),"\n",(0,s.jsx)(t.p,{children:"Loop over items. Applies each step in sequence, and returns a new collection of the results. Items must be an Array or Object."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Input"}),(0,s.jsx)(t.th,{children:"Comments"}),(0,s.jsx)(t.th,{children:"Default"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Items"}),(0,s.jsx)(t.td,{children:"These are the items to loop over. This must be an Array (list) or Object, and should be a reference to a previous step's results."}),(0,s.jsx)(t.td,{})]})})]}),"\n",(0,s.jsx)(t.h3,{id:"loopntimes",children:"Repeat X Times"}),"\n",(0,s.jsx)(t.p,{children:"Loops over the the steps in the loop N times, or until a loop break occurs."}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Input"}),(0,s.jsx)(t.th,{children:"Comments"}),(0,s.jsx)(t.th,{children:"Default"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Number of Iterations"}),(0,s.jsx)(t.td,{children:"The number of times to execute the steps in the loop."}),(0,s.jsx)(t.td,{children:"1000"})]})})]})]})}function h(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},31819(e,t,n){n.d(t,{A:()=>o});let o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsSAAALEgHS3X78AAAF3UlEQVRYha1XS28TVxSeQLurStctVKKbsucHsOmii0AE6kATP8ZOTNyoNA/H9o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tU3adUBWlPC0wA1G3NCXWeXiGYmdd9AjJ4qxZEtQhMt5i6yjkG5Cnf0Wc19ocAxPvt+zkmBE5WJ8RmG+T/nNTDFdqDLHNE6CZ4To4BOcG5QskVhIY5z8P+UJucXGNCfhldYM63aQK9CvsGS55eqzMBsLyRDLlD07mmBB69AQKQwQhINgQczUxwTzfB2OTrm2Dspm4CmLGpCdzMCReaOiEcCgKEJklqQ7h+D8d9pROGUldtw
1xBqQwghlAxBCDGEmhkcodgxWJt2EbJwPoQwQhn3tmHosElEYIwkcunvJT3P50ssyYAE+09EY0loKpWn0z/Ns+SEJMVIiSpLXgaZWvubElG/vNc2FbPyG1aZ0KSWr5JA1cNpQQTqRjpGWj75/XwDR20MbqTiT/iRbU2LkbeS8aDG1Mx6tdig8CA3oBAZuR+V8OQP89QeaFyK64pRsFKMsHjfjZ3eSLphOTbSLk6GUmvkeaMEm0sz/KX/mwwr3Tb9QKUcpxeBqYNXG5JE1K4hYX2gqDKfgGOi6qEJQTMC9RsErv+DPrLp6Rs2JC2MCcdtadaSGY4JbSCs0IahHcuuFBn4+O0s6xVZN9SsJQsrtS2ZuUHc77u8vVlTamiD1XlRpZ6hGdaYokEFuOG8zZpSYJgxq8tolfd1XvlYkLTkRluu1TQpVjInvp1jZBAxdXYXtVK1LQ83acttBpObrxpMGg8n1sEkR87g48l9X95634yxqdGsvf+hJIjqMrRRP5opjJA3or250Ywzlmk4beu5scPR/+iMK2waTuMNhtN47XDaMSCfbe0ef/3h1MSibjzv6H3Q6gokzrmCyWuoZO5QMofdMSAn2LNA4tyh3getrzOe/w8PUJBNPJFyuwAAAABJRU5ErkJggg=="},28453(e,t,n){n.d(t,{R:()=>r,x:()=>l});var o=n(96540);let s={},i=o.createContext(s);function r(e){let t=o.useContext(i);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(i.Provider,{value:t},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.