User development,

A new message was posted in the thread "How to get sub process instance id":

http://community.jboss.org/message/524795#524795

Author  : Paolo F
Profile : http://community.jboss.org/people/emp.tyres

Message:
--------------------------------------------------------------
I can confirm that as soon as you enter a subprocess the following code results 
in a 0-size executions collection, and this in turn makes it impossible to 
check if a sub-process is running. I am using 4.3 under hsql. 
 
 ProcessInstance mainProcessInstance = (ProcessInstance) 
engine.getExecutionService().findProcessInstanceById(processInstanceId);
 Collection<? extends Execution> executions = 
mainProcessInstance.getExecutions();
 System.out.println("EXECUTIONS IS SIZE: " + executions.size());
 
 
 
Is this already on Jira?

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/524795#524795


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to