<br>Not sure how you represent the Fields, I guess they are facts. Then what you&#39;ve suggested is the usual approach, which I&#39;m reducing to<br>   TabSingle( $field: field )<br>   Field( this == field,...)<br><br>If you have events with multiple fields, you can split this up<br>
when<br>   TabMultiple( $fields: fields )<br>   $field: Field( this memberOf fields )<br>then<br>   insert( new TabSingle( $field ) );<br>end<br><br>And I&#39;m sure you can guess how the &quot;overall&quot; event should work.<br>
<br>There is an ongoing discussion whether it is better to have many rules, i.e., one for each field with all the parameters coded into it, or only a few, e.g., one per type of checking action with parameters coming from a matched Parameter fact.<br>
<br>-W<br><br><br><br><div class="gmail_quote">On 14 April 2011 23:14, Robert Christenson <span dir="ltr">&lt;<a href="mailto:rac@akc.org">rac@akc.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I will concede that we had discussed an AgendaFilter only recently and a prototype did prove successful.<br>
<br>
It may not be ideal and based on this thread I&#39;m challenging my team for a pure rule solution.<br>
<br>
Our specific issue is that the rules need to activate both when a field is tabbed off in a GUI, but also as a result of a higher-level validation of all data within our larger dog show event.  In this case, if I added specific logic to the rule, how/when could the rule activate when the overall event is submitted to the session?  Perhaps Context( (action == all) || (action == taboff, fieldsAffected contains field1)<br>

<br>
I viewed the filter as a direct way to allow the activations to be filtered (in the case of taboff, keep only the rules affected by the field)<br>
<br>
I would welcome any suggestions, I&#39;m still trying to learn as much as I can.<br>
<br>
Sorry for the smell.<br>
<br>
-bob<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>
</blockquote></div><br>