mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Execute Workflow Node): Pass binary data to sub-workflow (#12635)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user