[jboss-user] [jBPM] - JBPM Task

RSTVMA LDHYAGF do-not-reply at jboss.com
Thu Jul 19 06:41:38 EDT 2012


RSTVMA LDHYAGF [https://community.jboss.org/people/mab1990.amu] created the discussion

"JBPM Task"

To view the discussion, visit: https://community.jboss.org/message/748992#748992

--------------------------------------------------------------
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
[https://community.jboss.org/message/748992#748992]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120719/af15bd73/attachment.html 


More information about the jboss-user mailing list