[jboss-user] [JBoss jBPM] - Re: conditional trans in 3.2 - deprecated syntax doesn't wor

cristim1979 do-not-reply at jboss.com
Wed Apr 25 14:37:43 EDT 2007


simply try to write your conditions in decision node simpler, like this:

   
  | <decision name="decision1">
  |       <transition name="1" to="end1">
  | 	      <condition>var1 == '1'</condition>     	
  |       </transition>
  |       <transition name="2" to="task2">
  | 	      <condition>var1 == '2'</condition>
  |       </transition>
  |    </decision>
  | 

i think it should work (from my experience).  if you still want to use #{...} expresions, i think there the "==" doesn't work  (so you should try .equals, or eq  form, or something - sorry, haven't played more with EL)

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

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



More information about the jboss-user mailing list