[jboss-user] [JBoss jBPM] - Re: conditional transition behavior
ricardomarques
do-not-reply at jboss.com
Fri Jul 13 07:17:27 EDT 2007
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
More information about the jboss-user
mailing list