️ Add expression position variable (#2024)

This commit is contained in:
MedAliMarz 2021-07-23 18:03:42 +02:00 committed by GitHub
parent 47eb2c73ca
commit 34c1123636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -608,6 +608,7 @@ export interface IWorkflowDataProxyData {
$json: any; // tslint:disable-line:no-any $json: any; // tslint:disable-line:no-any
$node: any; // tslint:disable-line:no-any $node: any; // tslint:disable-line:no-any
$parameter: any; // tslint:disable-line:no-any $parameter: any; // tslint:disable-line:no-any
$position: any; // tslint:disable-line:no-any
$workflow: any; // tslint:disable-line:no-any $workflow: any; // tslint:disable-line:no-any
} }

View file

@ -395,6 +395,7 @@ export class WorkflowDataProxy {
$node: this.nodeGetter(), $node: this.nodeGetter(),
$self: this.selfGetter(), $self: this.selfGetter(),
$parameter: this.nodeParameterGetter(this.activeNodeName), $parameter: this.nodeParameterGetter(this.activeNodeName),
$position: this.itemIndex,
$runIndex: this.runIndex, $runIndex: this.runIndex,
$mode: this.mode, $mode: this.mode,
$workflow: this.workflowGetter(), $workflow: this.workflowGetter(),