[rules-users] Drools with rules from database

2012-08-23 Thread debchamps
Hi I have the following requirement The rule is like if(employeeType == $1) set salary = $1 emloyeeType salary --- --- MANAGER 100 SR Manager

Re: [rules-users] Drools with rules from database

2012-08-23 Thread debchamps
Hi, thanks so much for the reply. Can u give some reference/example where new rules are getting in database. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-with-rules-from-database-tp4019357p4019359.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] Drools with rules from database

2012-08-23 Thread debchamps
So the thing is I will have rules like when EmployeeTypeSalary( $et : emplyeeType, $s : salary ) $e : Employee( employeeType == $et ) then modify($e) { setSalary( $s ); } end But by taking the value from db the rules will look like if(employesalary.color == manager)

Re: [rules-users] sending string and list of string as parameter in Drools decision table

2012-07-20 Thread debchamps
Thanks a lot :) It worked. Another thing I was wondering whether we could do with decision table.. I have a list xlist ListX; class X { String a; String b; ListString cList; } Condition ActionActionAction $1=$1

[rules-users] Updation of variables within rule table and use of it in other rule table

2012-07-12 Thread debchamps
RuleTable X Condition Action x.a == $1 x.b = $param 1 2 RuleTable Y ConditionAction x.b == $param

Re: [rules-users] How to check a list contains a subList in decision table

2012-07-06 Thread debchamps
Hi facing the same issue. Do someone have the solution... -- View this message in context: http://drools.46999.n3.nabble.com/How-to-check-a-list-contains-a-subList-in-decision-table-tp3806077p4018499.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Variable number of argument

2012-07-05 Thread debchamps
Does *drools decision table* supports multiple number of arguments?? Like in the cell I will have some thing like 1,2,3,4 or it can be 1,2,4 and I will call a function which basicaly does addToList(int... values) Or is there any alternative way to add multiple element in a list?? Thanks, Deb

[rules-users] Need Suggestion about what rule engine to use

2012-06-25 Thread debchamps
Hi, I have an application where I will be requiring rule engine in two places. Use case1 - I have around 15 rules(It is likely to change very rarely) which are like truth table var1 var2 var3 var4 Action true false false true add x,y,z to list false false false