<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Torfox wrote:
<blockquote cite="mid:1260033922726-68941.post@n3.nabble.com"
 type="cite">
  <pre wrap="">

Mark Proctor wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">
    </pre>
    <blockquote type="cite">
      <pre wrap="">It seems I have misunderstood the documentation-  the sequential mode
(<a class="moz-txt-link-freetext" href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html#d0e1809">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html#d0e1809</a>)
3.3.7.1:

"Order the Rules by salience and position in the ruleset (by setting a
sequence attribute on the rule terminal node)."
  
      </pre>
    </blockquote>
    <pre wrap="">Sequential mode first evaluates all of the LHS. Which results in a 
single conflict set. It then evaluates the conflict set in salience and 
rule order. Modifying values will not result in the LHS being
re-evaluated.
    </pre>
  </blockquote>
</blockquote>
If you want the modification of facts in one rule to impact other
rules, you need inference turned on.<br>
<br>
Mark<br>
<blockquote cite="mid:1260033922726-68941.post@n3.nabble.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">
Mark


_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->

Great, thanks for the explanation. Does it mean, that sequential mode
shouldn't be used in a scenario, where particular rules modify facts in the
way that allows other rules to evaluate. Eg. rules 1-10 define "region"
value by matching zip-codes and rules 11-20 calculate premium based on the
"region" and customer's age. 

Bartosz
  </pre>
</blockquote>
<br>
</body>
</html>