[jboss-user] [jBPM] - How to load sub processes

James Williams do-not-reply at jboss.com
Thu Aug 11 04:13:50 EDT 2011


James Williams [http://community.jboss.org/people/williajd] created the discussion

"How to load sub processes"

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

--------------------------------------------------------------
Hi,

I'm working with JBPM 5.1 and am able to successfully create a sub process. I'm using a JPA session and history logging so I can see the new process in the nodeinstancelog table and the processinstanceinfo table.

I then use statefulSession.execute(new GetProcessInstanceCommand(processInstanceId)).

As expected this loads the parent process but the nodeInstances(where sub-processes and tasks are normally found) list is empty. 

Is there a simple way to retireve these nodes? I'm hoping there is a reliable mechanism available.

Cheers

James
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/620545#620545]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


More information about the jboss-user mailing list