JBoss Community

Re: jbpm5: one session or multiple sessions

created by Marie MM in jBPM - View the full discussion

Hi,

 

we are now deciding whether how to use sessions. I see these general possibilitites:

  1. one session for all: which doesn't seem good solution based on Kris' answer, since we don't want processes influence each other by any chance
  2. new session created each time the session is needed
  3. one session for one process: for this solution I don't know where to save connectin between session and process instance. I imagine I have taskId or workItemId, from this I can get processInstanceId, but how I can get the information in which session it belongs?

 

What is your opinion on these possibilities?

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community