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 <[email protected]> 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-I-am-upgrading-from-drool-5-0-to-5-3-tp3683440p3684854.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
