<!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">
latest ruleflow stuff has 'and', 'or' and 'xor' type logic to chose
your branch points on a split - would that work for you?<br>
<br>
Mark<br>
Edson Tirelli wrote:
<blockquote
cite="mid:e6dd5ba30706160913p7b088e6ft3cfb8c0ec5dfc264@mail.gmail.com"
type="cite"> Geoffrey,<br>
<br>
Look at agenda-groups and rule-flows.<br>
<br>
[]s<br>
Edson<br>
<br>
<br>
<div><span class="gmail_quote">2007/6/15, Geoffrey De Smet <<a
moz-do-not-send="true" href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com
</a>>:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can
I fire a partial set of rules?<br>
Say I have 3 rules: fastRuleA, fastRuleB, slowRuleC.
<br>
What's the best way to only fire the group of fastRule1 and fastRule2?<br>
AgendaFilter looks like a good way of doing this, but:<br>
<br>
If between 2 rule fires, I change a fact, but change it back to it's<br>
original state, will the rule be not refire, just like if I hadn't
<br>
changed it temporary? for example fact1 is used in slowRuleC:<br>
fireAllRules(); // fires slowRuleC<br>
fact1.a++;<br>
fact1.a--;<br>
fireAllRules(); // does not fire slowRuleC?<br>
<br>
Does still apply if I fire other rules meanwhile?
<br>
fireAllRules(); // fires slowRuleC<br>
fact1.a++;<br>
fireAllRules(notSlowRuleCAgendaFilter); // slowRuleC is ignored<br>
// if I did not filter it out it would have fired of course<br>
fact1.a--;<br>
fireAllRules(); // does not fire slowRuleC? or does it?
<br>
// a hasn't is the same since the last time slowRuleC was fired<br>
<br>
--<br>
With kind regards,<br>
Geoffrey De Smet<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Edson Tirelli
<br>
Software Engineer - JBoss Rules Core Developer<br>
Office: +55 11 3529-6000<br>
Mobile: +55 11 9287-5646<br>
JBoss, a division of Red Hat @ <a moz-do-not-send="true"
href="http://www.jboss.com">www.jboss.com</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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>
<br>
</body>
</html>