Probably you have checked this, but just to make sure:<br>If you omit rule &quot;a1&quot;: does fact A2 fire with rule &quot;a2&quot; at salience 65?<br><br>What does &quot;...rules are like the following...&quot; mean? I guess they are<br>
not identical, that would be pointless. So, in which way do they differ?<br><br>-W<br><br><br><div class="gmail_quote">On Tue, Mar 30, 2010 at 4:11 PM, Jared Davis <span dir="ltr">&lt;<a href="mailto:sunray@davisprogramming.com">sunray@davisprogramming.com</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;">We have 5 rules that are firing out of salience order for a particular set<br>
of 4 objects.  The rules have a branch on the RHS which sometimes retracts<br>
the A object. There are reasons why the branch is not in the LHS not shown<br>
in this sample.<br>
<br>
The 5 rules are like the following. The salience values<br>
 are 70, 65, 60, 55, 50<br>
<br>
rule &quot;a1&quot;<br>
salience 70<br>
 agenda-group &quot;b&quot;<br>
when<br>
  a: A(name customevaluator &quot;X&quot;)<br>
     B(name = &quot;B&quot;)<br>
then<br>
   //  sometimes retract<br>
end<br>
<br>
There is one B object.<br>
<br>
Another rule fires (at salience 0) and inserts 4 A objects.<br>
<br>
1) A1 runs rule at salience 70 and is retracted<br>
2) A2 runs rule at salience 70 and is not retracted<br>
3) A3 runs rule at salience 70 and is retracted<br>
4) A4 runs rule at salience 70 and is not retracted<br>
5) A4 runs rule at salience 65 and is retracted<br>
6) A2 runs rule at salience 50 and is retracted<br>
<br>
I would have expected step 6 to have A2 run at salience 65 but instead it<br>
went from 70 to 50 skipping 60 and 65.  Is my understanding of the rule<br>
rhs firing order wrong?<br>
<br>
I&#39;m using a 5.1 snapshot from Dec 23 2009.<br>
<br>
I searched the JIRA and did not see anything related.<br>
<br>
<br>
<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>