JBoss Community

Re: When does a session closes once a process with human task completes in program?

created by Kris Verlaenen in jBPM - View the full discussion

Sessions do not terminate automatically as there could be new process instances being started etc.  To terminate a session, call ksession.dispose().  If you want to terminate a session after the process instance has been completed, you could for example register a process event listener that disposes a specific session if the process instance has been completed.

 

Kris

Reply to this message by going to Community

Start a new discussion in jBPM at Community