mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
feat(Merge Node): Overhaul, v3 (#9528)
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
This commit is contained in:
@@ -717,10 +717,23 @@ export class WorkflowExecute {
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure the array has all the values
|
||||
const connectionDataArray: Array<INodeExecutionData[] | null> = [];
|
||||
for (let i: number = connectionData.index; i >= 0; i--) {
|
||||
connectionDataArray[i] = null;
|
||||
let connectionDataArray: Array<INodeExecutionData[] | null> = get(
|
||||
this.runExecutionData,
|
||||
[
|
||||
'executionData',
|
||||
'waitingExecution',
|
||||
connectionData.node,
|
||||
waitingNodeIndex!,
|
||||
NodeConnectionType.Main,
|
||||
],
|
||||
null,
|
||||
);
|
||||
|
||||
if (connectionDataArray === null) {
|
||||
connectionDataArray = [];
|
||||
for (let i: number = connectionData.index; i >= 0; i--) {
|
||||
connectionDataArray[i] = null;
|
||||
}
|
||||
}
|
||||
|
||||
// Add the data of the current execution
|
||||
|
||||
Reference in New Issue
Block a user