diff --git a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts index 1de63824..abc85751 100644 --- a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts +++ b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts @@ -1691,11 +1691,11 @@ function getWorkflowErrors(nodes: Array): Array { // check loop node parameters const loopNodes: Array = nodes.filter(isLoopNode); const emptyLoopNodes = loopNodes.filter( - (node: LoopNode) => node.data.loopValue === "", + (node: LoopNode) => node.data.loopVariableReference === "", ); if (emptyLoopNodes.length > 0) { emptyLoopNodes.forEach((node) => { - errors.push(`${node.data.label}: Loop value parameter is required.`); + errors.push(`${node.data.label}: Loop value is required.`); }); }