I´m currently using JBPM 5.4, and I´m using one to one relationship between Session and Process Instance.
So, I have multiple sessions stored in DB.
When I restart server, how can I get the sessions and make the loadStatefulKnowledgeSession? I have multiple rows in SessionInfo table but I don´t know which of them are in waiting state.
Thans in advance,
you can find one example of this implementation in Salaboy's Github repository. https://github.com/Salaboy/jBPM5-Developer-Guide/blob/master/chapter_11/jBPM5-Multi-Session-Patterns/src/test/java/com/salaboy/patterns/SingleSessionPatternsTest.java#L37
I hope it help you.
Retrieving data ...