In jbpm suite 3.2.1 i have tested the following code:

processdefinition.xml:
<?xml version="1.0"?>
  | 
  | <process-definition name="websale"
  |                     xmlns="urn:jbpm.org:jpdl-3.2">
  | 
  |   <start-state name="start-state1">
  |             <task name="starttask"></task>
  |             <transition to="task-node1" name="t1"></transition>
  |             <transition to="task-node2" name="t2"></transition>
  |     </start-state>
  | 
  | 
  |     <task-node name="task-node1">
  |             <task name="task1"></task>
  |             <transition to="end-state1"></transition>
  |     </task-node>
  | 
  |     <task-node name="task-node2">
  |             <task name="task1"></task>
  |             <transition to="end-state1"></transition>
  |     </task-node>
  | 
  | 
  |     <end-state name="end" />
  |     <end-state name="end-state1"></end-state>
  | 
  | </process-definition>

starttask' page:
  | ...
  | <tf:transitionButton transition="t1" value="t1"/>
  | <tf:transitionButton transition="t2" value="t2"/>
  | ...
  | 

But when i push the transition button named "t2" in the running application at 
start page, the workflow goes to task-node1 instead of  task-node2.
Why?

Thank You!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076237
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to