[jbpm-users] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

swatis do-not-reply at jboss.com
Wed Apr 29 04:32:35 EDT 2009


I got what he said thats what I have used

  | String evaluate(String expression) {
  | 	    if (expression==null) {
  | 	    	System.out.println("exp is null");
  | 	      return null;
  | 	    }
  | 	    VariableResolver variableResolver = JbpmExpressionEvaluator.getUsedVariableResolver();
  | 	    System.out.println("resolver is " + variableResolver);
  | 	    if (variableResolver!=null) {
  | 	    	
  | 	      	    
  | 	    return (String) JbpmExpressionEvaluator.evaluate(expression, executionContext, 
  | 	    		variableResolver, null);
  | 	  }
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227496#4227496

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227496



More information about the jbpm-users mailing list