feat(Execute Workflow Trigger Node): Reintroduce binary data on Workflow Triggers (#15259)

This commit is contained in:
Charlie Kolb
2025-05-15 08:40:42 +02:00
committed by GitHub
parent f906dbaf63
commit 218007e625
2 changed files with 6 additions and 4 deletions

View File

@@ -142,10 +142,11 @@ export function getCurrentWorkflowInputData(this: IExecuteFunctions | ISupplyDat
} else {
const removedKeys = new Set(schema.filter((x) => x.removed).map((x) => x.displayName));
const filteredInputData: INodeExecutionData[] = inputData.map((item, index) => ({
const filteredInputData: INodeExecutionData[] = inputData.map(({ json, binary }, index) => ({
index,
pairedItem: { item: index },
json: _.pickBy(item.json, (_v, key) => !removedKeys.has(key)),
json: _.pickBy(json, (_v, key) => !removedKeys.has(key)),
binary,
}));
return filteredInputData;