<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Yes, you could use agenda filters, but I think agenda groups are more what you're looking for.&nbsp; Agenda groups allow you to do the staging type behavior easily, usually implemented by having a rule that is of lower priority than the rest of the rules in the group moving to the next stage using drools.setFocus() in the action.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Chris Richmond &lt;crichmond@referentia.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Rules Users List &lt;rules-users@lists.jboss.org&gt;<br><b><span style="font-weight:
 bold;">Sent:</span></b> Friday, September 25, 2009 1:41:44 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [rules-users] Agenda Filters usage<br></font><br>



 
 
<style>
<!--
 
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;color:windowtext;}
 _filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {}
-->
</style>



<div class="Section1">

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Would agenda filters be a good usage in this scenario.</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> &nbsp;</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> &nbsp;</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I have a set of objects I want to evaluate in stages, and so
I only want certain rules to fire at certain stages.&nbsp; So the idea would be
to have the main application do some work on those objects then updte and fire
rules on them for stage 1(Agenda Filter 1) where the rule enine would set some
bits based on the objects based on other fields…then the outside
appliction would process some more and then update the objects and fire ther
rules for stage 2(Agenda Filter 2) and so on for many stages. &nbsp;This would
make it easier to write rules that only evaluate on the obects at certain
stages and would make it easier to write rules that don’t’ conflict
with each other(i.e. a rule I only want to evaluate stage 2 objects evaluating
stage 1 objects). &nbsp;</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> &nbsp;</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">IF this *<b><span style="font-weight: bold;">is</span></b>* a
reasonable usage scenario, is there a sample in the documentation of Firing
rules on an agenda filter. &nbsp;I found reference to writing a rule file that
puts rules in certain agendas, but not actually firing those rules from the
client.</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> &nbsp;</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks,</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> &nbsp;</span></font></p> 

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Chris</span></font></p> 

</div>

</div></div></div><br>

      </body></html>