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&...]