This content has been marked as final.
Show 2 replies
-
1. Re: How to reconnect a StatefulKnowledgeSession to a process and continue the flow using jBPM5 and BRMS ?
lymxiang Nov 14, 2012 2:01 AM (in response to lymxiang)in my application ,I have disposed the session, and I'm using persistent sessions, how can I reload it ,I don't know how to do it.
Please help ,thanks very much!
-
2. Re: How to reconnect a StatefulKnowledgeSession to a process and continue the flow using jBPM5 and BRMS ?
lymxiang Nov 26, 2012 9:04 PM (in response to lymxiang)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.