You can write something like A: Applicant(,,,, price < ( A.getData() ) ) where 'A' refers to the Applicant object bound to this pattern.
But getData() returns a String, it should return an int so that you can compare it to the price. I cannot really advise you on the overall structure of your project, but consider what others have written. It might be better to include the Item objects as facts, etc. -W On 22 December 2010 14:13, wasim.khan318 <[email protected]> wrote: > > Sir i am very new to java and drools please can you correct my example, i > am > not getting about > <any java expression> > > please it will help full for me a > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/DataBase-Configuration-for-Drools-tp2130161p2131211.html > Sent from the Drools - User 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
