diff --git a/packages/core/src/WorkflowExecute.ts b/packages/core/src/WorkflowExecute.ts index 95445fb603a24..10a34fab4b9ce 100644 --- a/packages/core/src/WorkflowExecute.ts +++ b/packages/core/src/WorkflowExecute.ts @@ -1067,7 +1067,7 @@ export class WorkflowExecute { nodeSuccessData = runNodeData.data; - const didContinueOnFail = nodeSuccessData?.at(0)?.at(0)?.json.error !== undefined; + const didContinueOnFail = nodeSuccessData?.at(0)?.at(0)?.json?.error !== undefined; while (didContinueOnFail && tryIndex !== maxTries - 1) { await sleep(waitBetweenTries);