I have a jBPM Task with two tranisition

  | <task-node name="QuoteApproval" end-tasks="true">
  |             <task name="QuoteApprove">
  |                     <description>
  |                             Approve/Reject the Quote
  |                     </description>
  |                     <assignment 
actor-id="#{inquireHome.instance.salesRepEmail}"/>
  |             </task>
  |             <transition to="CreateOrder" name="toCreateOrder"></transition>
  |             <transition to="RejectedRequest" 
name="toRejectedRequest"></transition>
  |     </task-node>
  | 

if I have a transition name mentioned on the EndTask I get an error 
"javax.ejb.EJBTransactionRolledbackException: task node does not have leaving 
transition 'toCreateOrder'".
It works fine when no transition name is mentioned.


Below code works fine

  | @EndTask
  |     public String updateQuote()
  |     {
  |          return "closeRequest";
  |     }
  | 
EndTask with Transition name doesnot work

  | @EndTask(transition="toCreateOrder")
  |     public String updateQuote()
  |     {
  |          return "closeRequest";
  |     }
  | 
  | 

Any Ideas!

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

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

Reply via email to