jbpm4.4 join问题

tylgl 2011-02-22
版本是4.4,流程图:

xml如下:
<?xml version="1.0" encoding="UTF-8"?>
<process name="wftest" xmlns="http://jbpm.org/4.4/jpdl">
   <start g="-33,228,48,48" name="start1">
      <transition g="-28,-18" name="to t0" to="t0"/>
   </start>
   <task g="34,227,92,52" name="t0">
      <transition name="to f1" to="f1" g="-28,-18"/>
   </task>
   <fork g="220,227,48,48" name="f1">
      <transition g="-28,-18" name="to t2" to="t2"/>
      <transition g="-28,-18" name="to t1" to="t1"/>
      <transition name="to t3" to="t3" g="-28,-18"/>
   </fork>
   <task g="294,88,92,52" name="t1">
      <transition g="-27,-18" name="to j1" to="j1"/>
   </task>
   <task g="298,226,92,52" name="t2">
      <transition g="-28,-18" name="to f2" to="f2"/>
   </task>
   <task g="290,328,92,52" name="t3">
      <transition g="-28,-18" name="to f3" to="f3"/>
   </task>
   <task g="557,134,92,52" name="t4">
      <transition name="to j1" to="j1" g="-27,-18"/>
   </task>
   <task g="559,221,92,52" name="t5">
      <transition name="to j1" to="j1" g="-27,-18"/>
   </task>
   <task g="827,82,92,52" name="t8">
      <transition g="-27,-18" name="to j2" to="j2"/>
   </task>
   <task g="959,324,92,52" name="t9">
      <transition g="-42,-18" name="to end1" to="end1"/>
   </task>
   <task g="579,324,92,52" name="t6">
      <transition name="to j2" to="j2" g="-27,-18"/>
   </task>
   <task g="584,416,92,52" name="t7">
      <transition name="to j2" to="j2" g="-27,-18"/>
   </task>
   <join g="742,84,48,48" multiplicity="3" name="j1">
      <transition g="-28,-18" name="to t8" to="t8"/>
   </join>
   <fork g="434,226,48,48" name="f2">
      <transition g="-28,-18" name="to t4" to="t4"/>
      <transition g="-28,-18" name="to t5" to="t5"/>
   </fork>
   <fork g="442,327,48,48" name="f3">
      <transition g="-28,-18" name="to t6" to="t6"/>
      <transition g="-28,-18" name="to t7" to="t7"/>
   </fork>
   <join g="851,326,48,48" multiplicity="3" name="j2">
      <transition g="-28,-18" name="to t9" to="t9"/>
   </join>
   <end g="980,220,48,48" name="end1"/>
</process>
两个join节点都设置了multiplicity="3"
当我按照t0,t3,t1,t2,t6,t7,t5,t4,t8,t9 这个顺序,依次completeTask时没问题
当时当按照t0,t1,t3,t2,t4,t5执行时,当t5执行结束后,t6和t7被obsolet了
为什么会这样?大家遇到过这样的问题吗


xyz20003 2011-02-22
jbpm4会按最外层的fork为准,一个join设置了multiplicity,就会杀死所有的分支
huangwei33 2012-03-06
楼主怎么解决的。。。。
Global site tag (gtag.js) - Google Analytics