Examples of evaluateExpression()


Examples of org.jbpm.pvm.internal.script.ScriptManager.evaluateExpression()

    Object value = null;
    if (variableName!=null) {
      value = superExecution.getVariable(variableName);
    } else {
      ScriptManager scriptManager = EnvironmentDefaults.getScriptManager();
      value = scriptManager.evaluateExpression(expression, language);
    }
   
    subProcessInstance.setVariable(subVariableName, value);
  }
}
View Full Code Here

Examples of org.jbpm.pvm.internal.script.ScriptManager.evaluateExpression()

      Activity activity = execution.getActivity();
      String subProcessActivityName = subProcessInstance.getActivityName();
     
      if (outcomeExpression!=null) {
        ScriptManager scriptManager = Environment.getFromCurrent(ScriptManager.class);
        Object value = scriptManager.evaluateExpression(outcomeExpression, null);
        // if the value is a String and matches the name of an outgoing transition
        if ( (value instanceof String)
             && (activity.hasOutgoingTransition(((String) value)))
           ) {
          // then take that one
View Full Code Here

Examples of org.jbpm.pvm.internal.script.ScriptManager.evaluateExpression()

    if (target!=null) {
      invocationTarget = target;

    } else if (targetExpression!=null) {
      ScriptManager scriptManager = EnvironmentDefaults.getScriptManager();
      invocationTarget = scriptManager.evaluateExpression(targetExpression, targetLanguage);
   
    } else {
      throw new JbpmException("no target specified");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.