[jboss-user] [JBoss jBPM] - jBpm 4.0CR1 - Getting variable from processInstance
efabbri
do-not-reply at jboss.com
Wed Jul 8 09:46:22 EDT 2009
Hi, I have 4 process instances of 1 process definition initialized with a variables' Map. I want to list these instances and get their variables.
I call an executionProcessQuery and from it I extracted the Executions but Interface Execution doesn't have the methodo "getVariable" and I cannot get an "OpenExecution" or an "ActivityExecution" because it said "org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jbpm.pvm.internal.model.ExecutionImpl.variables, no session or session was closed".
How can I do?
Thanks.
Emanuele
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242423#4242423
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242423
More information about the jboss-user
mailing list