[rules-users] bounded variable...
Joel G. Rivera-González
el_pio at yahoo.com
Wed Jan 10 12:21:33 EST 2007
rule "modem_warranty_menu"
when
megaTO:MegaTransferObject(other_EffectiveOrderTypeDsl == Constants.NEW_COMPLETED_ORDER_TYPE,
at:other_IsAdaAltaTraslado, nm:orders_NewModem -> (nm.equals(Constants.FLAG_YES) || (nm.equals(Constants.FLAG_NO) && at.equals(Constants.FLAG_YES))))
then
menu.add(new String[]{Constants.SERVICE_ASSURANCE_TREE_MENU_DSL, Constants.SERVICE_ASSURANCE_MENU_WARRANTY});
end
this rule cause a compilation error...
the reason appears to be at:other_IsAdaAltaTraslado,
why it doesnt allow me to have 2 bounded variables on the same rule?
Joel G. Rivera-Gonzalez
PRT
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070110/f9717865/attachment.html
More information about the rules-users
mailing list