[jboss-user] [jBPM] - Re: How can i get the task id ?

Maciej Swiderski do-not-reply at jboss.com
Fri Dec 14 06:02:09 EST 2012

Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: How can i get the task id ?"

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

to achieve this you would need to extend existing HT work item handler and pass an AddTaskResponseHandler implementation when invoking addTask on taskClient. That way task service will emit and event when task was successfully created. Take a look at the sample code  https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncGenericHTWorkItemHandler.java#L175 here


Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list