JBoss Community

Integrating jBPM 5 into web application - architecture

created by Pedro Gonçalves in jBPM - View the full discussion

Hello,

 

I've been trying to integrate the jBPM5 into my own web app, but I've some doubts about how to make it.

 

My processes are mostly composed by Human Actions, which make them long running processes.

My problem is similar to the one discribed here: https://community.jboss.org/message/636561#636561

 

I've already configured jBPM to use persistense and I was able to start processes (building kbase, ksession, taskService, etc.). But everytime I start a process, or try to list the started processes I create a new entry on SessionInfo (in the database), and I got a empty list of started processes (I've 2 process instances holding a human action).

  • It is clear to me that I'm not managing the sessions properly, my question is, what is the best way to do it? :p
  • Does jBPM5.3 brings any improvement on this?
  • What are the best practices regarding the use of the kbase, ksessions, taskServices, etc.

 

Thanks in advance!

Reply to this message by going to Community

Start a new discussion in jBPM at Community