fix(Execute Workflow Node): Pass binary data to sub-workflow (#12635)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Charlie Kolb
2025-01-16 13:04:06 +01:00
committed by GitHub
parent 35cb10c5e7
commit e9c152e369
2 changed files with 66 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ export function getFieldEntries(context: IWorkflowNodeContext): FieldValueOption
export function getWorkflowInputValues(this: ISupplyDataFunctions): INodeExecutionData[] {
const inputData = this.getInputData();
return inputData.map((item, itemIndex) => {
return inputData.map(({ json, binary }, itemIndex) => {
const itemFieldValues = this.getNodeParameter(
'workflowInputs.value',
itemIndex,
@@ -106,13 +106,14 @@ export function getWorkflowInputValues(this: ISupplyDataFunctions): INodeExecuti
return {
json: {
...item.json,
...json,
...itemFieldValues,
},
index: itemIndex,
pairedItem: {
item: itemIndex,
},
binary,
};
});
}