Hi Folks
I'm using JBPM 3.0 and I'm trying to execute the follow workflow: 

<process-definition> 
  | <start-state name="start"> 
  | <transition to="Task1"></transition> 
  | </start-state> 
  | <node name="Task1"> 
  | <event type="node-enter"> 
  | <action class="test.Task1"></action> 
  | </event> 
  | <transition to="Task2" /> 
  | <exception-handler> 
  | <action class="test.Task1Undo"/> 
  | </exception-handler> 
  | </node> 
  | <node name="Task2"> 
  | <event type="node-enter"> 
  | <action class="test.Task2"></action> 
  | </event> 
  | <transition to="end" /> 
  | <exception-handler> 
  | <action class="test.Task2Undo"/> 
  | </exception-handler> 
  | </node> 
  | <end-state name="end"></end-state> 
  | </process-definition> 
 
My problem: when test.Task1 throws any Exception I want to abort the workflow 
and execute the test.Task1Undo and nothing more. But the workflow continues the 
normal execution after test.Task1Undo, i.e. execute Task2 and goes to the 
"end". Can you help me to solve this? thanks a lot

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to