<div dir="ltr">Hi,<div><br></div><div>I have a group of rules with salience which I would like that only the first activated rule will fire.</div><div><br></div><div>I cant use the activation-group attribute because each rule can fire number of times, and i want only this rule to be fired in that group:</div>
<div><br></div><div><div>rule &quot;A1&quot;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>salience 100</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>ruleflow-group &quot;A&quot;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>activation-group &quot;A&quot;</div></div><div>when</div><div>        xxx1</div><div>then</div><div>       yyy1</div><div>end</div><div><br></div><div><div>
<div>rule &quot;A2&quot;</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>salience 90</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>ruleflow-group &quot;A&quot;</div><div>
<span class="Apple-tab-span" style="white-space: pre; ">        </span>activation-group &quot;A&quot;</div></div><div>when</div><div>        xxx2</div><div>then</div><div>       yyy2</div><div>end</div></div><div><br></div><div>
If Rule A1 run (activated number of times), rule A2 should not run.</div><div><br></div><div>Is there a way to do that? (no global flags etc.)</div><div><br></div><div>Thanks</div><div>Yaniv</div></div>