[jboss-user] [jBPM] - Re: How to run through Human Task
TC ONG
do-not-reply at jboss.com
Wed May 23 01:16:11 EDT 2012
TC ONG [https://community.jboss.org/people/devilkazuya99] created the discussion
"Re: How to run through Human Task"
To view the discussion, visit: https://community.jboss.org/message/737187#737187
--------------------------------------------------------------
I found my problem. The previous code I uploaded was still using Mina Service. I did modification below so to use LocalTaskService. Now it is working, no need to Thread.sleep(1000) any more. :)
TaskService localTaskService = new LocalTaskService(taskSession);
SyncWSHumanTaskHandler syncWSHumanTaskHandler = new SyncWSHumanTaskHandler(localTaskService, ksession);
syncWSHumanTaskHandler.setLocal(true);
syncWSHumanTaskHandler.setClient(localTaskService);
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/737187#737187]
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/20120523/8545c602/attachment.html
More information about the jboss-user
mailing list