Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss jBPM] - Re: conditional transition behavior

scott.stark@jboss.org

2007-07-13


Ok this is getting a weird behavior.

If u use decision node like this:


| <decision name="decisao">
|   <transition name="repetir" to="decidir o destinatario">
|      #{ contextInstance.variables.decisao == 'sim' }
|     </transition>
|     <transition name="fim" to="end">
|      #{ contextInstance.variables.decisao == 'nao' }
|     </transition>
|   </decision>
|

It follow always the transition "repetir"

I tried to change the order to see if the problem continues, the definition stays like this:


| <decision name="decisao">
|     <transition name="fim" to="end">
|      #{ contextInstance.variables.decisao == 'nao' }
|     </transition>  
|     <transition name="repetir" to="decidir o destinatario">
|      #{ contextInstance.variables.decisao == 'sim' }
|     </transition>
| </decision>
|

And on this case whatever the value of "decisao" the application breaks with a linkage error.

Any idea?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063935
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.