TC ONG [
https://community.jboss.org/people/devilkazuya99] created the discussion
"Continue Previous Process Instance"
To view the discussion, visit:
https://community.jboss.org/message/740582#740582
--------------------------------------------------------------
I am using Drools 5.4 and jbom 5.3.
I am using perisitance.
I run my apps in Tomcat + Spring + Hibernate.
I started with:
ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
ProcessInstance processInstance = ksession.startProcess(processName, processVariables);
these works.
Then I try:
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, null, env
);
int processInstancesSize = ksession.getProcessInstances().size(); // = 0
at this stage ksession.getProcessInstances() is empty.
So how can I continue my processInstance?
How to do it?
Any example?
I'll search around the github, but any help will be great.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/740582#740582]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]