-
1. Re: Reference between a session and a processInstance?
d.y. Feb 22, 2012 12:16 PM (in response to d.y.)or vice versa
-
2. Re: Reference between a session and a processInstance?
mscetin Feb 23, 2012 3:20 AM (in response to d.y.)In jBPM 5.2 you can get it from Task table, if there was any Task already created for your process instance.
-
3. Re: Reference between a session and a processInstance?
d.y. Feb 24, 2012 8:44 AM (in response to mscetin)Thank you :-)
-
4. Re: Reference between a session and a processInstance?
d.y. Feb 29, 2012 7:22 AM (in response to d.y.)Is the task table only for Human Tasks or for any kind of task?
-
5. Re: Reference between a session and a processInstance?
arunvg Feb 29, 2012 8:01 AM (in response to d.y.)1 of 1 people found this helpfulI think the human task Service is a pluggable component and is different from other tasks.
Also I don't think It is the right approach to use Task table to map between session and a process instance.
Suppose if your process definition doesn't contain a User task, how can you retrieve the process instance - session relation ?
From inline of this post https://community.jboss.org/thread/195459?tstart=0
saying
"Another table that has mapping of processes-to-sessions. This table is updated by the worker nodes when a new process is created."
I feel a direct mapping between process instance to session is not available in JBPM and we have to maintain our own.
Hope it helps
Cheers