[jboss-user] [jBPM] - Re: what different ksession.getWorkItemManager().completeWorkItem and TaskClient.complete?
kklg
do-not-reply at jboss.com
Thu Mar 21 04:33:00 EDT 2013
kklg [https://community.jboss.org/people/kklg] created the discussion
"Re: what different ksession.getWorkItemManager().completeWorkItem and TaskClient.complete?"
To view the discussion, visit: https://community.jboss.org/message/803981#803981
--------------------------------------------------------------
I see it http://stackoverflow.com/questions/10714598/processing-a-task-in-an-asynchronous-workitemhandler http://stackoverflow.com/questions/10714598/processing-a-task-in-an-asynchronous-workitemhandler
http://stackoverflow.com/users/743419/salaboy salaboy say:
"If you have everything set up correctly when you call the taskClient.complete() method the session will notified and the ksession.getWorkItemManager().completeWorkItem() will be called automatically for you. There is no need to call it by yourself. You only need to remember to register the WorkItemHandler to the session and keep the session alive so it can be notified. Cheers"
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803981#803981]
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/20130321/a472c394/attachment.html
More information about the jboss-user
mailing list