JBoss Community

Re: Combining human and automated tasks

created by Demian Calcaprina in jBPM - View the full discussion

Tommer,

you should keep the session id where you created the process, and then load it like this:

// recreate the session from database using the sessionId

ksession = JPAKnowledgeService.loadStatefulKnowledgeSession( sessionId, kbase, null, env );

and after using it disposing it.

 

Demian

Reply to this message by going to Community

Start a new discussion in jBPM at Community