Discussion:
[jboss-user] [jBPM] - Re: what different ksession.getWorkItemManager().completeWorkItem and TaskClient.complete?
kklg
2013-03-21 08:33:00 UTC
Permalink
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]
Loading...