<!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">
Of course, in the "then" part of rule1 you will have to set a fact
that is checked in the "when" condition in rule2 to ensure that
rule2 is not executed if rule1 has executed.<br>
<br>
Chris<br>
<br>
On 28/06/2011 12:30, Manuel Ortiz wrote:
<blockquote
cite="mid:BANLkTi=R_ALK-8bivskNDYGPDjJnr4pyrg@mail.gmail.com"
type="cite">Hello itchupe:
<div><br>
</div>
<div>I think you mean what in Drools is called SALIENCE.</div>
<div><br>
</div>
<div>Look for that rule attribute in..</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html/ch04.html#d0e3573">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html/ch04.html#d0e3573</a></div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Manuel Ortiz.</div>
<div><br>
<br>
<div class="gmail_quote">2011/6/28 itchupe <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:itchupe@gmail.com">itchupe@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hello there<br>
<br>
I am new to all drools...<br>
How can I 'mutex' in drools? Or could you suggest a better
concept for that?<br>
(i mean, when two rules would fire : rule1 and rule2 in
agenda<br>
the mutex is checked and : mutex for this case
is defined, rule1<br>
= higher, rule2 = lower prio<br>
only the one rule with higher priority will be executed)<br>
<br>
<br>
Cheers. Please let me know if my question is
understandable...<br>
<font color="#888888"><br>
--<br>
View this message in context: <a moz-do-not-send="true"
href="http://drools.46999.n3.nabble.com/MUTEX-mutual-exclusion-in-Drools-tp3117430p3117430.html"
target="_blank">http://drools.46999.n3.nabble.com/MUTEX-mutual-exclusion-in-Drools-tp3117430p3117430.html</a><br>
Sent from the Drools: User forum mailing list archive at
Nabble.com.<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"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<p class="avgcert" color="#000000" align="left">No virus found in
this message.<br>
Checked by AVG - <a moz-do-not-send="true"
href="http://www.avg.com">www.avg.com</a><br>
Version: 10.0.1388 / Virus Database: 1516/3730 - Release Date:
06/27/11</p>
</blockquote>
</body>
</html>