JBoss Community

Re: Integrating jBPM 5 into web application - architecture

created by Mauricio Salatino in jBPM - View the full discussion

I'm at the moment writing some examples about this topic.

Depending what the process is doing you can store the process instance ID and or the session in a related entity.

As you mention you have the User Session, but if the process do things for more than one user, the User entity is not the appropriate one to store the reference.

one kSession per process instance is one option, I will be sharing examples about different approaches.

Cheers

Reply to this message by going to Community

Start a new discussion in jBPM at Community