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.