[rules-users] Replacement for eval

2010-11-16 Thread Nirmal Fernando
Hi, I have two questions. 1) Is there any other way/method in Drools to test the truth value of a condition other than eval? In almost all rules of my application needs to test conditions, and it takes ages to run using eval. 2) Say I have a java method which returns a boolean, and I have used

Re: [rules-users] Replacement for eval

2010-11-16 Thread Wolfgang Laun
2010/11/16 Nirmal Fernando nirmal070...@gmail.com: Hi, I have two questions. 1) Is there any other way/method in Drools to test the truth value of a condition other than eval? The margin of this email is too small to put them all here. See the Expert manual, subsection 4.8.3, Left Hand Side

Re: [rules-users] Replacement for eval

2010-11-16 Thread Nirmal Fernando
Thanks for the replies! I observed that the action of a rule not get executed straight after that rule activated. Say my rules are following: rule Hello World when then System.out.println( hello world ); end rule GoodBye when Message( status == Message.GOODBYE,

Re: [rules-users] Replacement for eval

2010-11-16 Thread Greg Barton
.  You can't get any less specific than selecting nothing, so the empty LHS rule is selected last... --- On Tue, 11/16/10, Nirmal Fernando nirmal070...@gmail.com wrote: From: Nirmal Fernando nirmal070...@gmail.com Subject: Re: [rules-users] Replacement for eval To: Rules Users List rules-users