[jboss-user] [jBPM Users] - Inserting process arguments to Java tasks

RobertWilson do-not-reply at jboss.com
Thu Nov 12 06:29:50 EST 2009


The userguide isn't very useful when it comes to using variables.. I have a Java task like this:

public class JavaTask {
  public boolean getSuccess(String tasksuccess) {
    System.out.println(task);
    return tasksuccess.equals("true");
  }
}

And I call it in the jpdl like this:


  
  


However, when the sysout is called, it prints #{tasksuccess}. Using a DecisionHandler earlier on I can access the process variables and confirm that 'tasksuccess' does exist, so why is it not being inserted properly here?

Cheers,

Robert

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

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



More information about the jboss-user mailing list