Browse Source
Merge pull request #6783 from Budibase/fix/automation-looping-null-issue
Ensure binding exists before continuing with loop
master
Peter Clement
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
|