4 Replies Latest reply on Nov 22, 2012 4:54 AM by Thomas Setiabudi

    JBPM Task


      Hello Team,


      Thanx for the help that you have been giving unto me now got some understanding of JBPM.


      Can someone please explain a little bit about adding a task like in this way:


      BlockingAddTaskResponseHandler addTaskResponseHandler= new BlockingAddTaskResponseHandler();

      Task task=……;

      client.addTask(task, null, addTaskResponseHandler);

      long taskId= addTaskResponseHandler.getTaskId();


      What am i suppose to code there by the Task task=.....; because in most of the examples that i got from the user guide the codding its like that i have tried coding it like this:


      Task task= new Task();


      But when i run it says it cannot retrieve the task ID.

      Can someone please explain to me?