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/784208#784208
--------------------------------------------------------------
you need to register for events using taskService.registerForEvent method. So in your case
it should be something like this
TaskAddedHandler eventResponseHandler = new TaskAddedHandler (...);
TaskEventKey key = new TaskEventKey(TaskCreatedEvent.class, -1);
sTaskService.registerForEvent(key, false, eventResponseHandler);
please note this is pseudo code so needs to be slightly adjusted
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/784208#784208]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]