[jboss-user] [jBPM] - Get subprocess id from outside the process

Michael Wohlfart do-not-reply at jboss.com
Mon Aug 2 11:21:19 EDT 2010

Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion

"Get subprocess id from outside the process"

To view the discussion, visit: http://community.jboss.org/message/555458#555458

that's interesting,
the following code should check for the hibernate session in your environment:

         new Command(){
           public String execute(Environment env){
               org.hibernate.Session session = env.get(org.hibernate.Session.class);
               System.out.println("session is: " + session);
               return null;

if it is null you might have a problem in the session config for your tests, but then there should be way more problems, are you running other tests that pass? Also note you had "exectution" and "execution" in the code fragment.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100802/8c9a0b4b/attachment.html 

More information about the jboss-user mailing list