[rules-users] OR in more than one level
Sergio Stateri
stateri at gmail.com
Thu Jun 19 17:28:43 EDT 2008
Hi,
How can I use OR in second level attributes ? (attributes that´re in a
aggregate Class of a aggregate Class of main Class)
when
$trigger : ArrayList( size >= 1 )
from collect( PromotionShoppingCartLine( productItem.sku == "1" ||
productItem.sku == "2" ) from
$promotionShoppingCart.promotionShoppingCartLines )
then
.
.
I can´t use "productItem.sku" (sku attribute inside productItem attribute
that´s inside PromotionShoppingCartLine class) if I´m using the || (OR), but
if I use && (AND) all works fine.
thanks in advance,
Sergio Stateri Jr.
stateri at gmail.com
--
Sergio Stateri Jr.
stateri at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080619/b84bcda5/attachment.html
More information about the rules-users
mailing list