Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion
"failed to lazily initialize a collection of role: org.jbpm.pvm.internal.model.ExecutionImpl.variables, no session or session was closed" To view the discussion, visit: http://community.jboss.org/message/551926#551926 -------------------------------------------------------------- Hi Felix, you might need this in jbpm.cfg.xml: also maybe your SpeaddWorkFlow.StartWorkFlow() method needs a @Transactional annotation? and finally you can try to do whatever you do in line 245 of SpeaddWorkFlow.java within a command like described by HuiSheng in this http://community.jboss.org/thread/153892?tstart=0 thread: > processEngine.execute(*new* Command() { > *public* Object execute(Environment env) { > // do something. > *return* *null*; > } > }); > -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/551926#551926] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
