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