<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Another alternative would be to use an activation
group, that way only one rule of that group will be able to fire.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Kris</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=salaboy@gmail.com href="mailto:salaboy@gmail.com">Mauricio
Salatino</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-users@lists.jboss.org
href="mailto:rules-users@lists.jboss.org">Rules Users List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, April 07, 2010 11:18
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [rules-users] Drools Flow:
Skipping some LHS evaluations attime of insert</DIV>
<DIV><BR></DIV>you can insert a control object in the first rule that it's
activated and fired and add another restriction to the rest of the rules,
using that control object.<BR><BR>Greetings<BR><BR>
<DIV class=gmail_quote>On Wed, Apr 7, 2010 at 5:06 PM, madchen <SPAN
dir=ltr><<A
href="mailto:k.cheung@accenture.com">k.cheung@accenture.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><BR>Hi,<BR><BR>According to my understanding of Drools
Flow, when you insert an object into<BR>drools, it tries to match it against
all the existing rules and every rule,<BR>for which the 'When' clause
conditions are met, becomes activated.<BR><BR>I was wondering if it was
possible, that when an object is inserted into<BR>drools, drools stops
trying to match that object against the rules once the<BR>first rule is
activated. Or in other words, drools would go through the list<BR>of rules
comparing the object with the 'When' clause conditions and then<BR>when it
finds a rule that matches, it stops going through the rest of the<BR>rules
for that object.<BR><BR>Thanks!<BR>Kevin<BR><FONT color=#888888>--<BR>View
this message in context: <A
href="http://n3.nabble.com/Drools-Flow-Skipping-some-LHS-evaluations-at-time-of-insert-tp704324p704324.html"
target=_blank>http://n3.nabble.com/Drools-Flow-Skipping-some-LHS-evaluations-at-time-of-insert-tp704324p704324.html</A><BR>Sent
from the Drools - User mailing list archive at
Nabble.com.<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></FONT></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>- <A
href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</A><BR>- <A
href="http://www.jbug.com.ar">http://www.jbug.com.ar</A><BR>- Salatino
"Salaboy" Mauricio -<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>rules-users mailing
list<BR>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR></BLOCKQUOTE><br>
<FONT FACE=3D"Helvetica" SIZE=3D2>Disclaimer: <A HREF="http://www.kuleuven.be/cwis/email_disclaimer.htm">http://www.kuleuven.be/cwis/email_disclaimer.htm</A> for more information.</FONT>
<BR>
</BODY></HTML>