Hi, 

Thank you for your reply.. I tried what you said and it didn't work out..
Does this cancel only the tasks inside of a task-node? (cuz what i need to do 
is cancel all the other task instances, so that my process can finally end)
I don't know if the fork is making a problem, but i can't figure out what i'm 
missing :(

Here is what i tried to make it work, but hopelessly..
<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition
  |   xmlns=""  name="fork_endTasks">
  |   
  |   <swimlane name="tester" />
  |   
  |    <start-state name="start fork test">
  |     <task swimlane="tester">
  |             <controller>
  |                     <variable name="comments"/>
  |             </controller>
  |     </task>
  |       <transition name="nameFork" to="fork1"></transition>
  |    </start-state>
  |    <fork name="fork1">
  |       <transition name="tr2" to="task2"></transition>
  |       <transition name="tr1" to="task1"></transition>
  |    </fork>
  |    
  |    <task-node name="task1">
  |      <task swimlane="tester">
  |                     <controller>
  |                             <variable name="comments"/>
  |                     </controller>
  |       </task>
  |       <transition name="exceptionel" to="task4"></transition>
  |       <transition name="normal" to="join1"></transition>
  |    </task-node>
  |    
  |    <task-node name="task2">
  |       <task swimlane="tester">
  |               <controller>
  |                     <variable name="comments"/>
  |               </controller>
  |       </task>
  |       <transition name="exceptionel" to="task4"></transition>
  |       <transition name="normal" to="join1"></transition>
  |    </task-node>
  |    <join name="join1">
  |       <transition name="" to="end2"></transition>
  |    </join>
  |    
  |    <end-state name="end1"></end-state>
  |    
  |    <end-state name="end2"></end-state>
  |    
  |    <task-node name="task4">
  |      <task swimlane="tester">
  |               <controller>
  |                     <variable name="comments"/>
  |               </controller>
  |       <remove-tasks>true</remove-tasks>
  |       </task>
  |       <transition name="tr2" to="end1"></transition>
  |    </task-node>
  |    
  | </process-definition>


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to