JBoss Community

Re: SessionInfo and ProcessInstanceInfo tables are not getting updated when starting the process using JPAKnoweldgeService

created by uvijayreddy657 in jBPM Development - View the full discussion

I am creating EntityManagerFactory object using the below piece of code

 

 

EntityManagerFactory emf = Persistence.createEntityManagerFactory("WFJPAPersistenceUnit");
TaskService taskService = new TaskService(emf,SystemEventListenerFactory.getSystemEventListener());
TaskServiceSession taskSession = taskService.createSession();

 

if (taskServer == null || !taskServer.isRunning()) {
taskServer = new MinaTaskServer(taskService);
Thread thread = new Thread(taskServer);
thread.start();
}

 



 

Because of this only, other tables like TASK, Content, I18NText, PeopleAssignement_BAS..etc tables are getting inserted with Task related data.

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community