Perhaps it helps if you study a complete example that works for 5.1.1 and later:
http://members.inode.at/w.laun/drools/CustomOperatorHowTo.html
You might also try and look at the Drools implementation of "matches"
which ought to be a well-suited boilerplate for your case.
-W
On 24/01/2012, kashif10 <kash452(a)yahoo.com> wrote:
Thanks laune,
I already tried it yesterday i.e change it OBJECT_TYPE, but then getting
STING_TYPE error at some places in the rule..
Could you pls. explain what related change in drool API made after 5.0?
--
View this message in context:
http://drools.46999.n3.nabble.com/Custom-Evaluator-compile-time-error-If-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users