<div dir="ltr">Hi<br><br>Im using drools 5 with Guvnor 5<br>i set up 30 Technical rules and build a package to be used by my drools-sample application.<br><br>my probelm is as followed, some rule may conflict, i want to set up a rule order and if one rule is caught then i want the drools to stop and not continue to try other rules.<br>
<br>ive use salience but it hasnt really done the trick.<br><br>example:  <br>my rules:<br><br>rule &quot;Rule-01&quot;<br>salience 100<br>activation-group &quot;group1&quot;<br>...<br>System.Out.Println(&quot;caught rule 1&quot;)<br>
....<br><br>rule &quot;Rule-02&quot;<br>
salience 100<br>
activation-group &quot;group1&quot;<br>...<br>
System.Out.Println(&quot;caught rule 2&quot;)<br>
....<br>
<br>rule &quot;Rule-03&quot;<br>

activation-group &quot;group2&quot;<br>
...<br>
System.Out.Println(&quot;caught rule 3&quot;)<br>
....<br>
<br><br>rule &quot;Rule-04&quot;<br>


activation-group &quot;group2&quot;<br>...<br>
System.Out.Println(&quot;caught rule 4&quot;)<br>
....<br>
<br><br>

actual result: lets say all 4 rules are cuaght, what i will see is as followed<br><br>ACTIVATION CREATED rule:Rule-01 activationId:Rule-01 [1] declarations: <br>BEFORE ACTIVATION FIRED <br>caught rule 1<br>ACTIVATION CANCELLED rule:Rule-2<br>
<br>ACTIVATION CREATED rule:Rule-03 activationId:Rule-01 [1] declarations: <br>
BEFORE ACTIVATION FIRED <br>
caught rule 3<br>
ACTIVATION CANCELLED rule:Rule-3<br> 
<br><br>only one rule from each activation-group will be fired, and the first group with the higher salience will fire first.<br><br>what i would like is it one rule was caught to stop trying? is it possible?<br><br>Thanks, Nadav.<br>
<br><br><br><br><br><br><br></div>