Hello there
I am new to all drools...
How can I 'mutex' in drools? Or could you suggest a better concept for that?
(i mean, when two rules would fire : rule1 and rule2 in agenda
the mutex is checked and : mutex for this case is defined, rule1
= higher, rule2 = lower prio
only the one
Hello itchupe:
I think you mean what in Drools is called SALIENCE.
Look for that rule attribute in..
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html/ch04.html#d0e3573
Best regards,
Manuel Ortiz.
2011/6/28 itchupe itch...@gmail.com
Hello there
I am new to all
The hairy catchword in the post is only.
Most of the time, it's best to design the conditions so that only one rule
will reach the agenda.
If this is too circumstantial, salience might be used to let the special
case fire before the general case; but then something must be done to
remove the
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.
Chris
On 28/06/2011 12:30, Manuel Ortiz wrote:
Hello itchupe:
I think you mean what in Drools is called SALIENCE.
Look
okay. I am not a big fan of mutex, so best is I redesign it as described.
Thanks very much for your answers!
itchupe
--
View this message in context:
http://drools.46999.n3.nabble.com/MUTEX-mutual-exclusion-in-Drools-tp3117430p3117624.html
Sent from the Drools: User forum mailing list archive