[rules-users] attribute list

2007-05-20 Thread fakhfakh ismail
hello, I have an object has an attribut type List of String I when to verify if a String exist in List how can I do to check it? rule machin when $CurrentAct : Nodes(name ==CHECK FUNDS, $List:list) // how can I know if admin exist in list then System.out.println(admin exist); end thank u for

Re: [rules-users] attribute list

2007-05-20 Thread Edson Tirelli
Hi, If you are using 4.0, Nodes( name == CHECK FUNDS, list contains admin ) Hope it helps. Edson 2007/5/20, fakhfakh ismail [EMAIL PROTECTED]: hello, I have an object has an attribut type List of String I when to verify if a String exist in List how can I do to check it? rule

[rules-users] [rule-users] rule comparison

2007-05-20 Thread Sikkandar Nawabjan
Edson, am getting the following output [ b, a ] [ a, b ] only the order of the output is different. so if i check a equal to b according to the cross product law the then part execute 2 times? thats y i check the reference in the then part. how to use eval to variable comparison of objects in

[rules-users] [rule-users]RunTime polypmorphic support in 3.0.6?

2007-05-20 Thread Sikkandar Nawabjan
Hi, I have a query. am using Drools 3.0.6. i have a ObjectA and ObjectB and ObjectC. ObjectB and OBjectC inherits Object A. am using seperate drl file for objectA, objectB and objectC. i need to use the DRL pertain to ObjectA when validate ObjectB and ObjectC. So when i check the object say

Re: [rules-users] About drools

2007-05-20 Thread Scott Reed
Kranthi, There are two options that make it easier for non-programmers to understand, modify and write new rules. One is Decision Tables and the other is DSL (Domain Specific Language which allows you to develop a more natural syntax and offer rule templates for non-programmers to fill in). DSL