Object o = i.eval(script);  return o;
return i.eval(script);
    public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException {        String script = (String) args.get(AbstractWorkflow.BSH_SCRIPT);        Interpreter i = new Interpreter();        ClassLoader loader = Thread.currentThread().getContextClassLoader();        try {            if (loader != null) {                i.setClassLoader(loader);            }            i.set("entry", entry);            i.set("context", context);            Object o = i.eval(script);            return o;        } catch (TargetError targetError) {            if (targetError.getTarget() instanceof WorkflowException) {                throw (WorkflowException) targetError.getTarget();            } else {                String message = "Could not get object registered in to variable map";                throw new WorkflowException(message, targetError.getTarget());            }        } catch (EvalError e) {            String message = "Could not get object registered in to variable map";            throw new WorkflowException(message, e);        } finally {            if (loader != null) {                i.setClassLoader(null);            }        }    }