Hello.

I've been testing using simple JPDL examples.
I've understood a transition can be selected according to a condition expressed 
in a condition node.

Here an example of my tests :


  | <decision name="decision-after-activity-1">
  |     <transition name="2a" to="activity-2a" />
  |     <transition name="2b" to="activity-2b">
  |       <condition expression="#{contextInstance.variables['V1'] == 1}" />
  |     </transition>
  | </decision>
  | 

In these lines the two transition tags contain a name attribute that the 
documentation says to be optional. In my processs definition, this works. If 
the given variable is previously set with the expected value, the condition is 
matched and the second transition is selected...

But if i remove the name attribute, in particular in the second transition that 
supports the condition, the expression doesn't match anymore and the first 
transition is followed...

Is this a documentation interpretation error, about the option name attribute, 
or a strange bug ?

Thanks.

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to