diff --git a/frontend/src/lib/components/flows/content/FlowLoop.svelte b/frontend/src/lib/components/flows/content/FlowLoop.svelte index 260160d993..cca4b6d411 100644 --- a/frontend/src/lib/components/flows/content/FlowLoop.svelte +++ b/frontend/src/lib/components/flows/content/FlowLoop.svelte @@ -9,7 +9,7 @@ import FlowModuleEarlyStop from './FlowModuleEarlyStop.svelte' import FlowModuleSuspend from './FlowModuleSuspend.svelte' // import FlowRetries from './FlowRetries.svelte' - import { Button, Drawer, Tab, TabContent, Tabs, Alert } from '$lib/components/common' + import { Button, Drawer, Tab, TabContent, Tabs } from '$lib/components/common' import { Pane, Splitpanes } from 'svelte-splitpanes' import { getStepPropPicker } from '../previousResults' import { enterpriseLicense } from '$lib/stores' @@ -70,24 +70,29 @@
- -
- - - - {#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'}
@@ -128,12 +133,12 @@ />
-
Iterator expression - List to iterate over. + The JavaScript expression that will be evaluated to get the list of items to iterate + over. Example : ["banana", "apple", flow_input.my_fruit].
{#if enableAi} @@ -157,14 +162,6 @@ pickableProperties={stepPropPicker.pickableProperties} /> {/if} -
- -
{#if mod.value.iterator.type == 'javascript'}