[jboss-dev-forums] [jBPM Development] - Re: How to reconnect a StatefulKnowledgeSession to a process and continue the flow using jBPM5 and BRMS ?

lyman liu do-not-reply at jboss.com
Mon Nov 26 21:04:50 EST 2012


lyman liu [https://community.jboss.org/people/lymxiang] created the discussion

"Re: How to reconnect a StatefulKnowledgeSession to a process and continue the flow using jBPM5 and BRMS ?"

To view the discussion, visit: https://community.jboss.org/message/778460#778460

--------------------------------------------------------------
I  have solved the problem ,
using  WorkItem after completing the task :
    long proID = task.getProcessInstanceId();
    workItemID = getWorkItemIdbyTaskId(task.getId());
    ksession.getWorkItemManager().completeWorkItem(workItemID, null);
then  It will work properly.

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/778460#778460]

Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121126/f874e569/attachment.html 


More information about the jboss-dev-forums mailing list