Hi Ian,
Thanks for your reply.
I got it working now. Yes, The subProcessInstance IDs are stored in DB.
Actually my Process has two subProcesses. The call
processInstance.getRootToken.getActiveChildren().
gives me a map of tokens in the mainProcess. From the token in map,
i say
Could anybody say is there other way to get the subProcessInstances
from mainProcessInstance.
As this stops completely from using the multiple subProcess in the
processdefintion file, as subProcessInstances returns null.
Thanks
Shriram
View the original post :
Shriram,
I am successfully using both multiple subprocesses AND
.getSubProcessInstance(), so I doubt that's the issue.
Are the SubProcessInstanceIDs getting set in the database? Look at the values
manually to tell. If they are null, make sure that you are saving the process
instances you
this is a known bug. it requires a mapping and db schema change to fix this.
so it's not solved in 3.0.2.
but it is solved in 3.1
regards, tom.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925129#3925129
Reply to the post :
Hi Tom,
Thanks for your reply.
Iam currently working in JBPM 3.1 release. But the method
processInstance.getRootToken().getSubProcessInstance();
still returns null, when i have multiple sub-processes in process defintion.
Is the bug still open? Is there any other method available for getting