3 Replies Latest reply on Nov 12, 2009 7:17 AM by Robert Wilson

    Inserting process arguments to Java tasks

    Robert Wilson Newbie

      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