Skip to content

Automate browser based workflows with AI

handle continue on failure for loop node (#984)

Shuchang Zhenge45c9e128803
diff --git a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts
index 82ccce1d9..3c1ca8ec4 100644
--- a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts
+++ b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts
@@ -610,6 +610,7 @@ function getWorkflowBlocksUtil(nodes: Array<AppNode>): Array<BlockYAML> {
{
block_type: "for_loop",
label: node.data.label,
+ continue_on_failure: node.data.continueOnFailure,
loop_over_parameter_key: node.data.loopValue,
loop_blocks: nodes
.filter((n) => n.parentId === node.id)