[rules-users] Rules File Design Consideration

Anstis, Michael (M.) manstis1 at ford.com
Mon Apr 7 03:53:37 EDT 2008


If you cannot combine the rules into new rules I would suggest looking at
rule flow.


  _____  

From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Chong Minsk Goh
Sent: 04 April 2008 10:57
To: rules-users at lists.jboss.org
Subject: [rules-users] Rules File Design Consideration


Hi,
 
Any help to the problem below is much appreciated : )
 
Here is the problem:
 
I have a set of rules. Intially these rules are evaluated individually.
However, now there is a need to fire these rules in groups which is similar
to a logic gate AND or OR. And, the results of this "groups of rules" are
collected and returned to the user/
 
For example:
 
There are 4 rules:
Rule 1
Rule 2
Rule 3
Rule 4
 
Now, need to evaluate (Rule 1 AND Rule 2 AND Rule 3) OR Rule 4 
And I need to know what are the results of Rule 1 to Rule 4 individually.
 
 
What is the best way to implement a AND or OR using Drools?
 
 
Best regards
Chong Minsk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080407/fdecd928/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7206 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20080407/fdecd928/attachment.bin 


More information about the rules-users mailing list