{ previewOpen = false }} />
{#if !noEditor} Add steps inside the loop and specify an iterator expression that defines the sequence over which your subsequent steps will iterate. {/if} {#if mod.value.type === 'forloopflow'}
Skip failures If disabled, the flow will fail as soon as one of the iteration fail. Otherwise, the error will be collected as the result of the iteration. Regardless of this setting, if an error handler is defined, it will process the error.
Run in parallel
Parallelism Assign a maximum number of branches run in parallel to control huge for-loops.
Iterator expression List to iterate over.
{#if enableAi} { editor?.setSuggestion(e.detail) }} on:setExpr={(e) => { if (mod.value.type === 'forloopflow') { mod.value.iterator = { type: 'javascript', expr: e.detail } } editor?.setCode('') editor?.insertAtCursor(e.detail) }} pickableProperties={stepPropPicker.pickableProperties} /> {/if}
{#if mod.value.iterator.type == 'javascript'}
{ editor?.insertAtCursor(detail) editor?.focus() }} noPadding > { iteratorFieldFocused = true }} on:blur={() => { iteratorFieldFocused = false }} autofocus lang="javascript" bind:code={mod.value.iterator.expr} class="small-editor" shouldBindKey={false} extraLib={stepPropPicker.extraLib} />
{:else}