diff --git a/red/runtime/util.js b/red/runtime/util.js index d696f7f9a..d5643fcd5 100644 --- a/red/runtime/util.js +++ b/red/runtime/util.js @@ -389,11 +389,11 @@ function evaluateNodeProperty(value, type, node, msg, callback) { function prepareJSONataExpression(value,node) { var expr = jsonata(value); - expr.assign('flowContext',function(val, store) { - return node.context().flow.get(val, store); + expr.assign('flowContext',function(val) { + return node.context().flow.get(val); }); - expr.assign('globalContext',function(val, store) { - return node.context().global.get(val, store); + expr.assign('globalContext',function(val) { + return node.context().global.get(val); }); expr.assign('env', function(val) { return process.env[val];