[jboss-user] [JBoss jBPM] - Condition expressions not evaluating properly
josepg
do-not-reply at jboss.com
Mon May 14 03:26:56 EDT 2007
Hi,
I've recently upgraded to jBPM-jpdl-3.2.GA and my decision nodes are not working anymore. Look at the following code:
<decision name="hi ha altre servei">
| <transition name="servei_altre_repetit" to="join firma ordre estudi">
| <condition expression="#{1 eq 2}"/>
| </transition>
| <transition name="servei_altre_no_repetit" to="firma ordre estudi altre">
| <condition expression="#{2 eq 2}"/>
| </transition>
| </decision>
The first transition is always taken, despite the first condition expression evaluates to false and the second condition expression evaluates to true.
How is this possible?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045352#4045352
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045352
More information about the jboss-user
mailing list