Mauricio Salatino [
https://community.jboss.org/people/salaboy21] created the discussion
"Re: Integrating jBPM 5 into web application - architecture"
To view the discussion, visit:
https://community.jboss.org/message/743342#743342
--------------------------------------------------------------
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
[
https://community.jboss.org/message/743342#743342]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]