A set of "complete" LHSides dissects a value spece into n disjoint subsets
of that space. In terms of rules, for n rules, not any 2 conditions can be
true at any time and no condition is false.
-W
2010/12/17 Yaniv Itzhaki
> Thanks
>
> what do you mean by "complete" conditions?
>
> 2010/12/17 W
Thanks
what do you mean by "complete" conditions?
2010/12/17 Wolfgang Laun
> It would not be impossible to define a "first-rule-wins" group, where the
> first rule to fire may keep on doing so, locking out all others. But this is
> an incomplete definition; you'd also have to specify how long t
It would not be impossible to define a "first-rule-wins" group, where the
first rule to fire may keep on doing so, locking out all others. But this is
an incomplete definition; you'd also have to specify how long the lock-out
effect should remain. If this isn't for the entire duration of the sessio
Thanks for your help
I was looking for internal drools feature to solve this issue (this is what
i meant by etc..).
2010/12/16 Bruno Freudensprung
>
> Hi,
>
> I don't know if it is the best solution since I am very new to Drools but
> you could use a logical insert of a "Skip" fact. Something
Not sure exactly what you mean with the "etc". in "no global flags etc"
but you could use a declared control fact, for example:
declare CF
ruleName : String
end
rule "A1"
salience 100
when
xxx1
not CF( ruleName == "A1" )
then
yyy1
CF cf = new CF(
Hi,
I don't know if it is the best solution since I am very new to Drools
but you could use a logical insert of a "Skip" fact. Something like:
rule "A1"
salience 100
ruleflow-group "A"
activation-group "A"
when
xxx1
then
yyy1
* insertLogical(new Skip());
*end
rule "A2"
sal
any ideas anyone?
On Thu, Dec 16, 2010 at 12:36 PM, Yaniv Itzhaki wrote:
> Hi,
>
> I have a group of rules with salience which I would like that only the
> first activated rule will fire.
>
> I cant use the activation-group attribute because each rule can fire number
> of times, and i want only
Hi,
I have a group of rules with salience which I would like that only the first
activated rule will fire.
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:
rule "A1"
salience 100
ruleflow-group "A"
activati