JBoss Community

Get subprocess id from outside the process

reply from Al Nadein in jBPM - View the full discussion

Thanks for help, HuiSheng, but it still doesn't work:

 

Execution exe = processInstance.findActiveExecutionIn("subprocess-task");
String subprocessid = ((ExecutionImpl)execution).getSubprocessInstance(); -- fails with
 
org.hibernate.LazyInitializationException:could not initialize proxy - no Session
 
 

Reply to this message by going to Community

Start a new discussion in jBPM at Community