Merge pull request #6783 from Budibase/fix/automation-looping-null-issue
Ensure binding exists before continuing with loop
This commit is contained in:
commit
150fec6c43
|
@ -161,7 +161,7 @@ class Orchestrator {
|
||||||
let originalStepInput = cloneDeep(step.inputs)
|
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
|
// 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(
|
let newInput = await processObject(
|
||||||
loopStep.inputs,
|
loopStep.inputs,
|
||||||
cloneDeep(this._context)
|
cloneDeep(this._context)
|
||||||
|
|
Loading…
Reference in New Issue