mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
fix: In addNodeToBeExecuted if stillDataMissing allow more then 2 inputs (#13704)
This commit is contained in:
@@ -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]({
|
||||
|
||||
Reference in New Issue
Block a user