Re: [rules-users] Activation-group ignored when working with events in Drools 6 ?

2014-06-03 Thread Mark Proctor
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

Re: [rules-users] Activation-group and salience

2014-03-29 Thread Wolfgang Laun
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

Re: [rules-users] Activation-group and salience

2014-03-28 Thread Nicolas Héron
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 >

Re: [rules-users] Activation group and list of contained objects

2011-07-09 Thread Wishing Carebear
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

Re: [rules-users] Activation group and list of contained objects

2011-07-09 Thread Wolfgang Laun
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:

Re: [rules-users] Activation group and list of contained objects

2011-07-09 Thread Wishing Carebear
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

Re: [rules-users] Activation group and list of contained objects

2011-07-09 Thread Wolfgang Laun
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?

Re: [rules-users] activation-group issue

2010-12-17 Thread Wolfgang Laun
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

Re: [rules-users] activation-group issue

2010-12-17 Thread Yaniv Itzhaki
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

Re: [rules-users] activation-group issue

2010-12-17 Thread 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 the lock-out effect should remain. If this isn't for the entire duration of the sessio

Re: [rules-users] activation-group issue

2010-12-17 Thread Yaniv Itzhaki
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

Re: [rules-users] activation-group issue

2010-12-16 Thread Tihomir Surdilovic
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(

Re: [rules-users] activation-group issue

2010-12-16 Thread 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 like: rule "A1" salience 100 ruleflow-group "A" activation-group "A" when xxx1 then yyy1 * insertLogical(new Skip()); *end rule "A2" sal

Re: [rules-users] activation-group issue

2010-12-16 Thread Yaniv Itzhaki
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

Re: [rules-users] activation-group not canceling other rule members

2007-10-11 Thread Mark Proctor
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

RE: [rules-users] activation-group

2007-04-27 Thread Bynum, Joe
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

RE: [rules-users] activation-group

2007-04-26 Thread Anstis, Michael \(M.\)
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

RE: [rules-users] activation-group

2007-04-26 Thread Bynum, Joe
-- 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

RE: [rules-users] activation-group

2007-04-26 Thread Anstis, Michael \(M.\)
- 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 "

RE: [rules-users] activation-group

2007-04-25 Thread Bynum, Joe
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? --

RE: [rules-users] activation-group

2007-04-25 Thread Anstis, Michael \(M.\)
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

RE: [rules-users] activation-group

2007-04-25 Thread Bynum, Joe
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

RE: [rules-users] activation-group

2007-04-23 Thread Bynum, Joe
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

Re: [rules-users] activation-group

2007-04-23 Thread JLL
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