// Evaluate a script expression
ScriptEngine scriptEngine = getEngine().getScriptEngineFactory().obtainScriptEngine(context);
try
{
// Evaluate the expression
scriptEngine.prepareNodeSocketExecution(entrySocket);
Object value = scriptEngine.executeScript(expression, "Decision node script", entrySocket.getNode()
.getQualifier().toString());
scriptEngine.finishNodeSocketExecution(entrySocket);
// Assign the result to the parameter