mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
✨ Add functionality to evaluate expression
This commit is contained in:
@@ -47,6 +47,9 @@ export class Function implements INodeType {
|
||||
|
||||
// Define the global objects for the custom function
|
||||
const sandbox = {
|
||||
evaluateExpression: (expression: string, itemIndex = 0) => {
|
||||
return this.evaluateExpression(expression, itemIndex);
|
||||
},
|
||||
getNodeParameter: this.getNodeParameter,
|
||||
getWorkflowStaticData: this.getWorkflowStaticData,
|
||||
helpers: this.helpers,
|
||||
|
||||
Reference in New Issue
Block a user