[rules-users] Rules categorization/packages

Amit Kumar amitkumar at gmail.com
Sat Feb 20 22:29:54 EST 2010


Hello All,

I am looking to organize the rules in different categories. But for
distribution purposes We are creating packages for different
roles/processing phases

So a rule will reside in one pckage but for navigation it can belong to
multiple categories

So packages are like Shirts, Pants, Shoes, Sweaters
Categories are Color, Material, Size, Gender and those have sub categories
witin them

We have rules which will device the category of the item
Like "red rule", "blue rule", "cloth rule", leather rule"

Now the problem we are facing is for category rules is if I define the rule
in Shirt package .. then I will not be able ot use it in Pant package.. Will
have to redefine it.

The other problem in this scenario is If I have a price rule in Shirt
package and the category is "Blue Color" and "XL Size" then I will have to
put it in both categories
When I put the "Blue Rule" on "Blue Category" and "XL Rule" on "XL
Category"  and I put the rule in both categories.. will it be an "and"
relationship or will be an "OR"

Regards,
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100220/987a6768/attachment.html 


More information about the rules-users mailing list