Donald Walters [
http://community.jboss.org/people/dondragon2] created the discussion
"Re: How to make a process instance go on with jBPM5?"
To view the discussion, visit:
http://community.jboss.org/message/633513#633513
--------------------------------------------------------------
I had to use to JPAKnowledgeService ans store the session id elsewhere.
EntityManagerFactory emf = Persistence.createEntityManagerFactory("com.test");
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
env.set(EnvironmentName.TRANSACTION_MANAGER,
TransactionManagerServices.getTransactionManager());
ksession = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase,
null, env);
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/633513#633513]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]