Re: [rules-users] Should update be called moving from one rule task to another in a ruleflow

2011-07-14 Thread Wishing Carebear
> > > 2011/7/14 Wishing Carebear > > Thanks Esteban, > > Noticed that if I have an employee with the list of addresses and update an > attribute of the address item in the list, modify does not work and the > update needs to be called explicitly on the Employee to take

Re: [rules-users] Should update be called moving from one rule task to another in a ruleflow

2011-07-14 Thread Wishing Carebear
gt; > Best regards, > > > > Esteban Aliverti > - Developer @ http://www.plugtree.com > - Blog @ http://ilesteban.wordpress.com > > > 2011/7/13 Wishing Carebear > >> modify > > > > ___

Re: [rules-users] Should update be called moving from one rule task to another in a ruleflow

2011-07-13 Thread Wishing Carebear
true"); end Regards, Ravi On Wed, Jul 13, 2011 at 8:28 AM, Tihomir Surdilovic wrote: > How about show your code and rules and maybe relevant parts of your > process? Would help understand your situation better. I would think > creating a simple test case that covers your scenari

Re: [rules-users] how to eval with property inside a nested object

2011-07-13 Thread Wishing Carebear
Wondering if from keyword to get the list objects will work here. bprod : BaseProduct() from uProduct.baseProduct On Wednesday, July 13, 2011, gmkumar2005 wrote: > I found a solution. I have added all the BaseProducts in the uProduct  as a > Facts :) > > > -- > View this message in context: > h

Re: [rules-users] Should update be called moving from one rule task to another in a ruleflow

2011-07-13 Thread Wishing Carebear
Any pointers please!! On Tuesday, July 12, 2011, Wishing Carebear wrote: > Any pointers? > > On Tuesday, July 12, 2011, Wishing Carebear > wrote: >> Hi, >> If I have a ruleflow with a sequence of rule tasks, should an update be >> called to reflect the state of

[rules-users] Mvel versus java dialect

2011-07-12 Thread Wishing Carebear
Hello, When should the mvel and java dialect be used? Thanks, Cabe ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Should update be called moving from one rule task to another in a ruleflow

2011-07-12 Thread Wishing Carebear
Any pointers? On Tuesday, July 12, 2011, Wishing Carebear wrote: > Hi, > If I have a ruleflow with a sequence of rule tasks, should an update be > called to reflect the state of the fact in the working memory? In another > words If all the rules are mutually exclusive within a rul

[rules-users] Should update be called moving from one rule task to another in a ruleflow

2011-07-12 Thread Wishing Carebear
Hi, If I have a ruleflow with a sequence of rule tasks, should an update be called to reflect the state of the fact in the working memory? In another words If all the rules are mutually exclusive within a rule task, will the changes made in first rule task, if used as a condition in the next rule t

Re: [rules-users] Any suggestions to implement exclusions and avoid update

2011-07-12 Thread Wishing Carebear
Hello, Any pointers is greatly appreciated. Thanks On Monday, July 11, 2011, Wishing Carebear wrote: > Hi, > Below are 2 rules, rule1 has higher precedence than rule2. Rule2 should not > execute if Rule 1 executes. > 1) One way to get this working is to check the null value. > 2

[rules-users] Any suggestions to implement exclusions and avoid update

2011-07-11 Thread Wishing Carebear
Hi, Below are 2 rules, rule1 has higher precedence than rule2. Rule2 should not execute if Rule 1 executes. 1) One way to get this working is to check the null value. 2) If the update is not called, the Rule2 gets executed using the previous null value of potentialTheftRating. Is there any other w

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

2011-07-09 Thread Wishing Carebear
7;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:13, Wishing Carebear wrote: >

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 Carebea

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

2011-07-09 Thread 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 that only one Address element executes the first

[rules-users] Can eval($param) be used as condition in the Spreadsheet decision table?

2011-07-08 Thread Wishing Carebear
Is it possible to put eval($param) as Condition in the decision table so that the cells can have flexible values.? Thanks. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Performance optimization guidelines for Drools

2011-07-07 Thread Wishing Carebear
Hello, I'm trying to run a ruleflow (sequence of only rules) using Statteful and stateless session. Could you please point me to any performance optimization guideliness. Thanks ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss

Re: [rules-users] Can a ruleflow be executed with a stateless session

2011-07-06 Thread Wishing Carebear
Thanks Steve, the reordering worked. On Wed, Jul 6, 2011 at 7:54 PM, Steve Reeves < steve.reeves.c...@statefarm.com> wrote: > I've had this same problem in the past, and fixed it by moving the add for > newStartProcess down so that it is the last command before the execute. > > Otherwise, what I

Re: [rules-users] Can a ruleflow be executed with a stateless session

2011-07-06 Thread Wishing Carebear
ion ksless = kbase.newStatelessKnowledgeSession(); ksless.execute(CommandFactory.newBatchExecution(cmds)); With the explicit stateful session, the test-ruleflow works fine. Any pointers is very much appreciated. On Wed, Jul 6, 2011 at 6:01 PM, Mark Proctor wrote: > On 07/07/2011 01:55, Wishing Carebear wrote: > >

[rules-users] Can a ruleflow be executed with a stateless session

2011-07-06 Thread Wishing Carebear
___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] How to update the working memory of a nested object attribute

2011-07-06 Thread Wishing Carebear
* ** > > Thomas > > ** ** > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Wishing Carebear > *Sent:* 06 July 2011 14:17 > *To:* Rules Users List > *Subject:* Re: [rules-users] How to update the

Re: [rules-users] How to update the working memory of a nested object attribute

2011-07-06 Thread Wishing Carebear
ther than getting > it to reiterate over all the services every update. > > ** ** > > Thomas > > ** ** > > ** ** > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Wishing Carebear > *Sent:* 0

[rules-users] How to update the working memory of a nested object attribute

2011-07-05 Thread Wishing Carebear
Hi, My rules update the nested object attributes :eligibilityScore which is used in another rule downstream. Only the Client object is sent as fact, the nested object is derived using the from keyword (list of services) rule "Rule 8 EligibilityRating" agenda-group "EligibilityRating" no

[rules-users] Userv Product Derby drools implementation

2011-07-04 Thread Wishing Carebear
Hello, Is there a Drools implementation for the UServ Product Derby usecase. http://hydrogen.informatik.tu-cottbus.de/wiki/index.php/Using_Drools:_UServ_Product_derby_2005 Thanks, cabear ___ rules-users mailing list rules-users@lists.jboss.org https://l

Re: [rules-users] some pointers for solution

2009-11-16 Thread Wishing Carebear
ata. > > --- On Thu, 11/12/09, Wishing Carebear wrote: > > > From: Wishing Carebear > > Subject: Re: [rules-users] some pointers for solution > > To: "Rules Users List" > > Date: Thursday, November 12, 2009, 12:05 AM > > Hi Greg: > > Loo

Re: [rules-users] some pointers for solution

2009-11-11 Thread Wishing Carebear
Attr1("attr1"); d.setAttr2("attr1"); insert(d); Thanks, cabear On Wed, Nov 11, 2009 at 3:42 PM, Wishing Carebear < wishing.careb...@gmail.com> wrote: > Thanks for your reply Greg. > > Actually I have 2 requirements: > > 1) Define the data objects in

Re: [rules-users] some pointers for solution

2009-11-11 Thread Wishing Carebear
ies in > the rules themselves, and not in a working memory object) then using a > decision table is appropriate. In fact, it's probably the best way to > define the rules. (It's most compact and readable when you have many rules > with a repetitive structure.) > > --- O

Re: [rules-users] some pointers for solution

2009-11-11 Thread Wishing Carebear
k of all > Data objects against the asserted Query. > > I tried for a while to get a solution working with different criteria types > from both Data and Query objects being asserted into working memory, but I > couldn't get the accumulate syntax right. Anyone know of a w

Re: [rules-users] some pointers for solution

2009-11-08 Thread Wishing Carebear
, count(1) ) > then >System.out.println("Match: " + d + " and " + q) ; > end > > Try the other methods, though. (The eval 'hack' I included before, and > Wolfgang's method.) All of these approaches should have different > performance

Re: [rules-users] some pointers for solution

2009-11-08 Thread Wishing Carebear
>System.out.println("Match: " + d + " and " + q) ; > end > > Try the other methods, though. (The eval 'hack' I included before, and > Wolfgang's method.) All of these approaches should have different > performance behavior, and I honestl

Re: [rules-users] some pointers for solution

2009-11-08 Thread Wishing Carebear
sults().size() > == getCriteria().size()), the other one firing for failure, but it might be > preferable to handle it in the presentation layer. > > Although I've used similar approaches, the code here is just off the cuff. > -W > > 2009/11/8 Wishing Carebear > >> H

Re: [rules-users] some pointers for solution

2009-11-08 Thread Wishing Carebear
ion is matched >> action( total ++; ), >> # Decrement if a matched Criteria now fails to match >> reverse( total --; ), >> # return the total when all known Criteria are matched >> result( total ) ) >> >> --- On Sun, 11/8/09, Wishing Carebear wrote: >&

Re: [rules-users] some pointers for solution

2009-11-08 Thread Wishing Carebear
rement if a matched Criteria now fails to match > reverse( total --; ), > # return the total when all known Criteria are matched > result( total ) ) > > --- On Sun, 11/8/09, Wishing Carebear wrote: > > > From: Wishing Carebear > > Subject: Re: [rules-users] som

Re: [rules-users] some pointers for solution

2009-11-08 Thread Wishing Carebear
g with different criteria types > from both Data and Query objects being asserted into working memory, but I > couldn't get the accumulate syntax right. Anyone know of a way to do that? > (I figure that would get a "pure rules" solution.) > > --- On Sat, 11/7/09, Wishing

Re: [rules-users] some pointers for solution

2009-11-08 Thread Wishing Carebear
preferable to handle it in the presentation layer. > > Although I've used similar approaches, the code here is just off the cuff. > -W > > 2009/11/8 Wishing Carebear > >> Hello: >> There are n selection criteria from s1 .. sn for each item i1.. in. Each >

[rules-users] some pointers for solution

2009-11-07 Thread Wishing Carebear
Hello: There are n selection criteria from s1 .. sn for each item i1.. in. Each item can have a subset of criteria which applies to them. The end user, can choose a subset of criteria like c1 and c5 and only the item that has c1 and c5 valid should be returned. For example: if item i1 and i2 have

[rules-users] Webguided decision table and nested objects

2009-07-22 Thread Wishing Carebear
Hello: I have a facts objects with nested objects : example: Employee name Address street city Wondering if it is possible to use Webguided decision table at the nested object level (in the above example Address.street) Thanks, c

[rules-users] classnotfound\classdefnotfound

2009-07-05 Thread Wishing Carebear
Hello: I have the drools5 embedded in an ear. When running aginst JBoss 5 gets the following classnotfound exception but it works okay with websphere and pramati application server. Wondering if someone could throw some pointers. Please note that drools-compiler, drools-core etc are all in the ear

[rules-users] Between in a rule condition using Guided decision table

2009-05-14 Thread Wishing Carebear
Hello: How to configure a condition say BETWEEN 10 and 20 using the guided decision table Thanks, cabear ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Session schedule change

2009-04-03 Thread Wishing Carebear
What are the details for registration: 1) How much it cost I would like to attend the session at least on Monday and Tuesday. Thanks, cabear 2009/4/1 Mark Proctor > I've been requested to move the technical "Advanced Engine" session to the > last day, so that the user target sessions are conse

[rules-users] Guided decision table in the eclipse plugin

2009-03-29 Thread Wishing Carebear
With Guvnor, noticed the new guided decision table. Is this available in the eclipse IDE plugins. Thanks cabear ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] mapping between the eclipse drools project and Guvnor

2009-03-20 Thread Wishing Carebear
Hello: I'm a newbie to drools and have installed the eclipse plugin IDE and the guvnor. Wondering what is the mapping between the IDE projects and the guvnor assets and packages view. Thanks, Ravi ___ rules-users mailing list rules-users@lists.jboss.org