fix(core): Check all node outputs when using "Always Output Data" before adding an empty object (#17602)

This commit is contained in:
RomanDavydchuk
2025-08-14 19:00:08 +03:00
committed by GitHub
parent 7fefd54edf
commit f1a87af059
3 changed files with 156 additions and 23 deletions

View File

@@ -1632,8 +1632,10 @@ export class WorkflowExecute {
});
nodeSuccessData = this.assignPairedItems(nodeSuccessData, executionData);
const noOutputData =
!nodeSuccessData || nodeSuccessData.every((data) => !data?.length);
if (!nodeSuccessData?.[0]?.[0]) {
if (noOutputData) {
if (executionData.node.alwaysOutputData === true) {
const pairedItem: IPairedItemData[] = [];