[rules-users] Rule of rules

Abhay B. Chaware Abhay.Chaware at kpitcummins.com
Tue May 24 01:10:45 EDT 2011


Is it possible to write rule of rules with Drools ? e.g. I write two complex rules in drools and then I want a third rule that can be defined to process facts
1.   which passed both rule 1 and rule 2   OR
2.  which passed rule 1 but not rule 2 OR
3.  which passed rule 2 but not Rule 1 OR
4.  which did not pass rule 1 and rule 2 and so on ..
Kind of a new 'layer' on top of  drools .. ?

I can think of a crud way, that is to flag the fact object when it passed rule 1 and rule 2 and check the flag in rule 3 .. but am looking for a more sophisticated way using drools features ..

-ahbay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110524/8eaca95d/attachment.html 


More information about the rules-users mailing list