[jboss-user] [JBoss jBPM] - one question about Fork/Join

biggo do-not-reply at jboss.com
Wed Jul 2 02:50:38 EDT 2008


<?xml version="1.0" encoding="GBK"?>
  | 
  | <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="convertor15">
  | 
  |   <!-- START-STATE -->
  |   <start-state name="start">
  |     <transition to="startFork" name="start to startFork"/>
  |   </start-state>
  | 
  |   <!-- NODES -->
  |   <end-state name="end"/>
  |   <task-node name="a">
  |     <transition to="b" name="to b"/>
  |     <task name="a's Task">
  |       <assignment actor-id="a"/>
  |     </task>
  |   </task-node>
  |   <task-node name="b">
  |     <transition to="b Fork" name="b to Fork"/>
  |     <task name="b's Task">
  |       <assignment actor-id="b"/>
  |     </task>
  |   </task-node>
  |   <task-node name="c">
  |     <task name="c's Task">
  |       <assignment actor-id="c"/>
  |     </task>
  | 		<transition to="join1"></transition>
  |   </task-node>
  |   <task-node name="d">
  |     <task name="d's Task">
  |       <assignment actor-id="d"/>
  |     </task>
  | 		<transition to="join2"></transition>
  |   </task-node>
  |   <task-node name="e">
  |     <transition to="f" name="to f"/>
  |     <task name="e's Task">
  |       <assignment actor-id="a"/>
  |     </task>
  |   </task-node>
  |   <task-node name="f">
  |     <task name="f's Task">
  |       <assignment actor-id="b"/>
  |     </task>
  | 		<transition to="join2"></transition>
  |   </task-node>
  |   <task-node name="g">
  |     <task name="g's Task">
  |       <assignment actor-id="a"/>
  |     </task>
  | 		<transition to="join1"></transition>
  |   </task-node>
  |   <fork name="startFork">
  |     <transition to="a" name="startForka"/>
  |     <transition to="e" name="startForke"/>
  |   </fork>
  |   <fork name="b Fork">
  |     <transition to="c" name="to c"/>
  |     <transition to="d" name="to d"/>
  |   </fork>
  | 	<join name="join1">
  | 		<transition to="end"></transition>
  | 	</join>
  | 
  | 	<join name="join2">
  | 		<transition to="g"></transition>
  | 	</join>
  | 
  | </process-definition>
  | 
by given this processdefinition,When TaskNode f and d 's task were all completed ,but the process stoped in the Join2 , and the TaskNode g cann't be accessed , I'm so puzzled by this question.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161938#4161938

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161938



More information about the jboss-user mailing list