I am a little confused by what you are saying; could you please clarify?<div><br></div><div>Do you insert a new &quot;decision&quot; object in working memory from each rule; and then you need another rule operating on &quot;decision&quot; objects of a certain categorisation? The formatting of your email did not lend itself well to understanding your enquiry.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Mike<br><br><div class="gmail_quote">On 5 August 2010 06:34, bbarani <span dir="ltr">&lt;<a href="mailto:bbarani@gmail.com">bbarani@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi,<br>
<br>
We have multiple rules defined in Guvnor and we fire all the rules at a<br>
time. There is a decision object set for each rule and I am trying to figure<br>
out a way to aggregate the result using the prirority of the decision object<br>
(kind of logical AND / OR)<br>
<br>
For Ex: The priority of the decision would be set as below<br>
<br>
Priority:<br>
<br>
Priority3              Priority2                    Priority1     Exception on any rule<br>
Granted   Action not Supported  Denied          Deferred<br>
<br>
After the rules are fired (I am considering 4 rules here) the final decision<br>
should be as follows<br>
<br>
Sample Rule result:<br>
<br>
Rule    Rule1   Rule2   Rule3                                Rule4<br>
FinalDecison<br>
Decisions       Granted Granted Granted                            Deferred<br>
Deferred<br>
        Granted Granted Action Not Supported      Granted                       Action Not<br>
Supported<br>
        Granted Granted Denied                             Granted<br>
Denied<br>
        Granted Granted Granted                             Granted<br>
Granted<br>
<br>
<br>
Is there a way to acheive this using rule flow group / any other simple way?<br>
<br>
Thanks,<br>
Barani<br>
<font color="#888888"><br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-to-aggregate-decisions-of-multiple-rules-In-Guvnor-tp1025115p1025115.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/How-to-aggregate-decisions-of-multiple-rules-In-Guvnor-tp1025115p1025115.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br></div>