JBoss Community

JBPM Task

created by RSTVMA LDHYAGF in jBPM - View the full discussion

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?

Reply to this message by going to Community

Start a new discussion in jBPM at Community