Hi Ed,
Below is the example which works nicely for me. Note that, the fork and join have the
default setting async="false". The transitions "to B1" and "to
B2" going out from the Fork node, do not have any conditions specified. The only
difference of this example, from a non-working example is that both transitions going out
from the Fork node have names, i.e. "to B1" and "to B2" below.
I hope this helps, Petia
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2"
name="Fork">
| <swimlane name="Initiator">
| <assignment actor-id="admin"></assignment>
| </swimlane>
|
| <start-state name="start-state1">
| <task name="start-task"
swimlane="Initiator"></task>
| <transition to="taskA"></transition>
| </start-state>
|
| <task-node name="taskA">
| <task name="taskA" swimlane="Initiator"></task>
| <transition to="fork1"></transition>
| </task-node>
|
| <fork name="fork1">
| <transition to="taskB1" name="to B1"></transition>
| <transition to="taskB2" name="to B2"></transition>
| </fork>
|
| <task-node name="taskB1">
| <task name="taskB" swimlane="Initiator"></task>
| <transition to="join1"></transition>
| </task-node>
|
| <task-node name="taskB2">
| <task swimlane="Initiator" name="taskB2"></task>
| <transition to="join1"></transition>
| </task-node>
|
| <join name="join1">
| <transition to="end-state1"></transition>
| </join>
|
| <end-state name="end-state1"></end-state>
| </process-definition>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171118#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...