From 8dfcb12cdf2bda8094ae9cb056d8f2c498563249 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Mon, 18 Jul 2022 13:10:18 +0100 Subject: [PATCH] Ensure a binding exists before continuing with loop --- packages/server/src/threads/automation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/threads/automation.js b/packages/server/src/threads/automation.js index a2bcf9b3e8..2ba7175bfd 100644 --- a/packages/server/src/threads/automation.js +++ b/packages/server/src/threads/automation.js @@ -161,7 +161,7 @@ class Orchestrator { let originalStepInput = cloneDeep(step.inputs) // Handle if the user has set a max iteration count or if it reaches the max limit set by us - if (loopStep) { + if (loopStep && input.binding) { let newInput = await processObject( loopStep.inputs, cloneDeep(this._context)