Re: [rules-users] probliem in using "in" and "not in" operator in drool file.

2007-09-11 Thread Edson Tirelli
Inside eval() you must use code in the chosen semantic dialect (either Java or MVEL). None of them have "not in" operator that is a DRL syntax sugar. So, you need to either properly write Java or MVEL code inside the eval, or use a regular DRL constraint. In this specific case, if you

[rules-users] probliem in using "in" and "not in" operator in drool file.

2007-09-11 Thread Gaurav2007
Hi All, I am using drool4.0.1 in my application, I have one map in global memory this map contains mapping of id and value,i want to validate these values. but when i am using in and not in rule like: eval(validatorMap.get("name") not in("amit","siddhartha")) where validatorMap is a map of i