We’ll look into it, it may already be fixed by this:
https://github.com/sotty/drools/commit/15cfe29d946d7e33520c20b4f3a61bedeeab05cc
Mark
On 3 Jun 2014, at 18:33, kenota wrote:
> It seems that activation-group rule attribute is ignored when rule works with
> events (@role(event)). Example rule f
The full reason why the second one fires, although it is in the same
activation group:
. insert Transaction with amount < 100
. there are activations for both rules
. rule 1 fires, cancelling the actication for rule 2 (due to AG "Group1"
. rule 1 updates the matched transaction, causing another ac
Hi
why should rule2 be ignored ?
when$tx:Transaction();
So it is true whatever is in transaction.
Cheers
Nicolas
2014-03-28 16:37 GMT+01:00 007reader [via Drools] <
ml-node+s46999n4029009...@n3.nabble.com>:
> I have a group of rules marked with "activation-group" where I want only
>
Thanks,
Any pointers on how to implement these rules. May be using salience
and a Boolean status condition.
On Saturday, July 9, 2011, Wolfgang Laun wrote:
> The Expert manual:
>
> "Rules that belong to the same activation-group, identified by
> this attribute's string value, will on
The Expert manual:
"Rules that belong to the same activation-group, identified by this
attribute's string value, will only fire exclusively. In other words, the
first rule in an activation-group to fire will cancel the other rules'
activations, i.e., stop them from firing."
-W
On 9 July 2011 18:
Let's say there is an employee with 4 address and all addresses should
satisfies rule1.
There are 4 rules with activation group of address. I see rule1 fired
only once and not 4 times.
Using Drools 5.2
On Saturday, July 9, 2011, Wolfgang Laun wrote:
>
>
> 2011/7/9 Wishing Carebear
>
> Hi,
> I
2011/7/9 Wishing Carebear
> Hi,
> I have an employee object that contains list of Address.Activation group is
> defined on the Address rules. The Address list contains 4 address and 3 of
> them satisfies the Rule1. But all the rules are defined in the same
> activation group.
>
> Observe
Where?
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
Karl Trout wrote:
All,
Care to give more details?
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
___
rules-users mailing list
rules-u
MAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bynum, Joe
Sent: 26 April 2007 15:12
To: Rules Users List
Subject: RE: [rules-users] activation-group
There are multiple orders with flowId == 1798. If I remove the
activation-group I believe that 2 orders are processed by the rule with
their specific
f Of Bynum, Joe
Sent: 26 April 2007 15:12
To: Rules Users List
Subject: RE: [rules-users] activation-group
There are multiple orders with flowId == 1798. If I remove the
activation-group I believe that 2 orders are processed by the rule with
their specific stage as well as the last rule and any or
--
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anstis,
Michael (M.)
Sent: Thursday, April 26, 2007 6:45 AM
To: Rules Users List
Subject: RE: [rules-users] activation-group
Do you have multiple Orders with a flowId == 1798?
What if you remove the activation-group (for testing) do mult
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bynum, Joe
Sent: 25 April 2007 18:10
To: Rules Users List
Subject: RE: [rules-users] activation-group
I'm not making any changes to the orders at all if that's what you're
thinking.
[when]workflow in stage "
orderType != "{value}" )
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anstis,
Michael (M.)
Sent: Wednesday, April 25, 2007 10:06 AM
To: Rules Users List
Subject: RE: [rules-users] activation-group
Any chance you can post your DSL too?
--
Any chance you can post your DSL too?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bynum, Joe
Sent: 25 April 2007 14:39
To: Rules Users List
Subject: RE: [rules-users] activation-group
Anyone have any idea what I'm doing wrong?
-Ori
Anyone have any idea what I'm doing wrong?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bynum, Joe
Sent: Monday, April 23, 2007 1:50 PM
To: Rules Users List
Subject: RE: [rules-users] activation-group
I've read the manual but as I stated
Sent: Monday, April 23, 2007 11:38 AM
To: rules-users@lists.jboss.org
Subject: Re: [rules-users] activation-group
from documentation
3.5.3.5. activation-group
default value N/A
type : String
Rules that belong to the same named activation-group will only fire
exclusively. In other words, the first
from documentation
3.5.3.5. activation-group
default value N/A
type : String
Rules that belong to the same named activation-group will only fire
exclusively. In other words, the first rule in an activation-group to fire
will cancel the other rules activations (stop them from firing). The
Activt
24 matches
Mail list logo