JBoss Community

Get subprocess id from outside the process

reply from HuiSheng Xu in jBPM - View the full discussion

Hi Al,

 

There is a new API in org.jbpm.api.Exection interface in jBPM-4.4.  named getSubProcessInstance().  You could use it to get related sub process instance of an execution.

 

In jBPM-4.3,  this method wasn't expose in API interface,  so you have to cast class by yourself and get related sub process instance from ExecutionImpl.

Reply to this message by going to Community

Start a new discussion in jBPM at Community