JBoss Community

about subProcess problem ? maybe a bug?

created by okey9 zeng in jBPM - View the full discussion

I find a problem about SubProcessNodeInsance in 5.1 version final

 

this class org.jbpm.workflow.instance.node.SubProcessNodeInsance

 

line 125 code : ((ProcessInstanceImpl) processInstance).setMetaData("ParentProcessInstanceId", processInstance.getId());

 

i think the purpose that it record the relation between  subProcessInstance and parentProcessInstance.

 

but the "ParentProcessInstanceId" actual is SubProcessInstanceId !

 

maybe  a bug ? 

 

thanks!

Reply to this message by going to Community

Start a new discussion in jBPM at Community