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