[jboss-user] [jBPM] - Re: Persisted human tasks do not trigger workitem complete

bpmn2user do-not-reply at jboss.com
Mon Apr 25 16:26:31 EDT 2011

bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"Re: Persisted human tasks do not trigger workitem complete"

To view the discussion, visit: http://community.jboss.org/message/601872#601872


Also please note that task handler connects to the task service using a lazy connection approach. 
You, however,  can connect immediately so that you retrieve the task completion events even before the first task is created. To instantiate the listener using this approach you might modifying your code like this:

CommandBasedWSHumanTaskHandler taskHandler = new CommandBasedWSHumanTaskHandler(ksession);
 ksession.getWorkItemManager().registerWorkItemHandler("Human Task",taskHandler);

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/20110425/072e1560/attachment.html 

More information about the jboss-user mailing list