JBoss Community

Another problem with a fork

created by Hamel Camille in jBPM - View the full discussion

Hi ,

I have another problem with a fork :it goes through only 1 of it branch and act like the others simply don't exist ( pass through the following join ).

Here is my process :

 

<?xml version="1.0" encoding="UTF-8"?>

<process name="arriveDepart" xmlns="http://jbpm.org/4.4/jpdl">
<swimlane candidate-users="${login}" name="Manager"/>
<swimlane candidate-users="mary" name="Logistique"/>
<swimlane candidate-users="mary" name="SI-DRI"/>
<swimlane candidate-users="mary" name="DSEM"/>
<swimlane candidate-users="mary" name="I-net"/>

   <start form="org/laposte/jbpm/start.html" g="322,16,48,52" name="start1">
      <transition g="-68,-18" name="to exclusive1" to="exclusive1"/>
   </start>
  
   <task form="org/laposte/jbpm/SaisieidRH.html" g="228,184,92,52" name="Saisie idRH" swimlane="Logistique">
      <transition to="fork1"/>
   </task>
   <fork g="322,348,48,52" name="fork1">
      <transition to="Saisie badge"/>
      <transition to="Installation poste"/>
      <transition to="Activation i-net"/>
   </fork>
   <task form="org/laposte/jbpm/Saisiebadge.html" g="176,432,92,52" name="Saisie badge" swimlane="Logistique">
      <transition to="join1"/>
   </task>
   <task form="org/laposte/jbpm/Installationposte.html" g="300,432,92,52" name="Installation poste" swimlane="DSEM">
      <transition to="join1"/>
   </task>
   <task form="org/laposte/jbpm/activationI-net.html" g="424,432,92,52" name="Activation i-net" swimlane="I-net">
      <transition to="Creation AD"/>
   </task>
   <task form="org/laposte/jbpm/creationAD.html" g="424,516,92,52" name="Creation AD" swimlane="DSEM">
      <transition to="exclusive3"/>
   </task>
   <decision g="424,600,92,52" name="exclusive3">
      <transition g="-120,-18" name="to Decision prolongation" to="join1">
      <condition expr="#{psnext!=&quot;true&quot;}"/>
      </transition>
      <transition to="Liaison PSNEXT">
      <condition expr="#{psnext==&quot;true&quot;}"/>
      </transition>
   </decision>
  
   <task form="org/laposte/jbpm/Liaisonpsnext.html" g="480,699,92,52" name="Liaison PSNEXT" swimlane="SI-DRI">
      <transition g="-120,-18" name="to Decision prolongation" to="join1"/>
   </task>
   <join g="279,848,92,52" multiplicity="3" name="join1">
      <transition to="Decision prolongation"/>
   </join>
   <task form="org/laposte/jbpm/decisionprolongation.html" g="279,932,92,52" name="Decision prolongation" swimlane="Manager">
      <transition to="exclusive2"/>
   </task>
   <decision g="140,1314,92,52" name="exclusive5">
      <transition to="Document PSNEXT">
      <condition expr="#{psnext==&quot;true&quot;}"/>
      </transition>
      <transition g="-41,-18" name="to join4" to="join4">
      <condition expr="#{psnext!=&quot;true&quot;}"/>
      </transition>
   </decision>
   <fork g="162,1096,92,52" name="fork2">
      <transition to="exclusive5"/>
      <transition to="Prolongation badge"/>
   </fork>
   <task form="org/laposte/jbpm/documentpsnext.html" g="27,1237,92,52" name="Document PSNEXT" swimlane="Manager">
      <transition to="Prolongation PSNEXT"/>
   </task>
   <task form="org/laposte/jbpm/prolongationpsnext.html" g="-2,1157,92,52" name="Prolongation PSNEXT" swimlane="SI-DRI">
      <transition g="-41,-18" name="to join4" to="join4"/>
   </task>
   <task form="org/laposte/jbpm/prolongationbadge.html" g="113,1040,92,52" name="Prolongation badge" swimlane="Logistique">
      <transition to="join4"/>
   </task>
   <join g="410,1096,92,52" name="fork3">
      <transition to="Suppression AD"/>
      <transition to="Editions documents"/>
      <transition to="Reprise badge"/>
      <transition to="Enlevement poste"/>
   </join>
   <task form="org/laposte/jbpm/suppressionAD.html" g="435,1185,92,52" name="Suppression AD" swimlane="DSEM">
      <transition to="join3"/>
   </task>
   <task form="org/laposte/jbpm/default.html" g="283,1203,92,52" name="Editions documents" swimlane="Manager">
      <transition to="Suppression services i-net"/>
      <transition to="exclusive7"/>
   </task>
   <task form="org/laposte/jbpm/reprisebadge.html" g="534,1180,92,52" name="Reprise badge" swimlane="Logistique">
      <transition to="join3"/>
   </task>
   <task form="org/laposte/jbpm/suppressionpsnext.html" g="294,1417,92,52" name="Suppression PSNEXT" swimlane="SI-DRI">
      <transition to="join3"/>
   </task>
   <decision g="308,1285,92,52" name="exclusive7">
      <transition to="Suppression PSNEXT">
      <condition expr="#{psnext==&quot;true&quot;}"/>
      </transition>
      <transition to="join3">
      <condition expr="#{psnext!=&quot;true&quot;}"/>
      </transition>
   </decision>
   <task form="org/laposte/jbpm/desactivationI-net.html" g="381,1274,92,52" name="Suppression services i-net" swimlane="I-net">
      <transition to="join3"/>
   </task>
   <task form="org/laposte/jbpm/enlevementposte.html" g="658,1180,92,52" name="Enlevement poste" swimlane="DSEM">
      <transition to="join3"/>
   </task>
   <join g="488,1491,48,52" multiplicity="5" name="join3">
      <transition to="end1"/>
   </join>
   <end g="505,1596,48,52" name="end1"/>
   <join g="60,967,92,52" multiplicity="2" name="join4">
      <transition g="-120,-18" name="to Decision prolongation" to="Decision prolongation"/>
   </join>
   <decision g="301,1016,48,48" name="exclusive2">
      <transition to="fork2">
      <condition expr="#{prolongation==&quot;true&quot;}"/>
      </transition>
      <transition to="fork3"><condition expr="#{prolongation!=&quot;true&quot;}"/></transition>
   </decision>
   <decision g="333,121,48,48" name="exclusive1">
      <transition to="Saisie idRH">
      <condition expr="#{idrh==&quot;&quot;}"/>
      </transition>
      <transition to="fork1">
      <condition expr="#{idrh!=&quot;&quot;}"/>
      </transition>
   </decision>
</process>

the problem comes from join3 / fork3.

Any idea why this doesn't work ?

 

Thanks in advance,

Camille Hamel

Reply to this message by going to Community

Start a new discussion in jBPM at Community