mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
✨ Make $item also available in expressions
This commit is contained in:
@@ -271,6 +271,10 @@ export class WorkflowDataProxy {
|
|||||||
$binary: {}, // Placeholder
|
$binary: {}, // Placeholder
|
||||||
$data: {}, // Placeholder
|
$data: {}, // Placeholder
|
||||||
$env: this.envGetter(),
|
$env: this.envGetter(),
|
||||||
|
$item: (itemIndex: number) => {
|
||||||
|
const dataProxy = new WorkflowDataProxy(this.workflow, this.runExecutionData, this.runIndex, itemIndex, this.activeNodeName, this.connectionInputData);
|
||||||
|
return dataProxy.getDataProxy();
|
||||||
|
},
|
||||||
$node: this.nodeGetter(),
|
$node: this.nodeGetter(),
|
||||||
$parameter: this.nodeParameterGetter(this.activeNodeName),
|
$parameter: this.nodeParameterGetter(this.activeNodeName),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user