JBoss Community

Re: What is the best way to work with sessions and processes while using persistance

created by roxy1987 in jBPM Development - View the full discussion

To stop a process instance, you need to stop the included human tasks as well.

The session information is stored by jbpm in the table SESSIONINFO. You can load the session using

JPAKnowledgeService.loadSess.........

But creating a new session each time is not a costly process. So you can do that instead but keep the knowledge base alive.

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community