This commit is contained in:
Michael Kret 2025-03-05 14:16:25 +02:00
parent 8790a0df3d
commit 0f607fd90d

View file

@ -909,6 +909,10 @@ export class WorkflowExecute {
if (stillDataMissing) {
waitingNodeIndex = waitingNodeIndex!;
const waitingExecutionSource =
this.runExecutionData.executionData!.waitingExecutionSource![connectionData.node][
waitingNodeIndex
].main;
// Additional data is needed to run node so add it to waiting
this.prepareWaitingToExecution(
@ -924,11 +928,7 @@ export class WorkflowExecute {
this.runExecutionData.executionData!.waitingExecutionSource![connectionData.node][
waitingNodeIndex
].main[connectionData.index] = {
previousNode: parentNodeName,
previousNodeOutput: outputIndex || undefined,
previousNodeRun: runIndex || undefined,
};
].main = waitingExecutionSource;
} else {
// All data is there so add it directly to stack
this.runExecutionData.executionData!.nodeExecutionStack[enqueueFn]({