mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(core): Node version available in expression (#9350)
This commit is contained in:
@@ -995,6 +995,7 @@ export class WorkflowDataProxy {
|
||||
// Before resolving the pairedItem make sure that the requested node comes in the
|
||||
// graph before the current one
|
||||
const activeNode = that.workflow.getNode(that.activeNodeName);
|
||||
|
||||
let contextNode = that.contextNodeName;
|
||||
if (activeNode) {
|
||||
const parentMainInputNode = that.workflow.getParentMainInputNode(activeNode);
|
||||
@@ -1281,6 +1282,7 @@ export class WorkflowDataProxy {
|
||||
$thisItem: that.connectionInputData[that.itemIndex],
|
||||
$thisItemIndex: this.itemIndex,
|
||||
$thisRunIndex: this.runIndex,
|
||||
$nodeVersion: that.workflow.getNode(that.activeNodeName)?.typeVersion,
|
||||
};
|
||||
|
||||
return new Proxy(base, {
|
||||
|
||||
Reference in New Issue
Block a user