RE: [rules-users] Another problem

2007-07-18 Thread Anstis, Michael \(M.\)
EMAIL PROTECTED] On Behalf Of Natraj Gudla Sent: 18 July 2007 14:54 To: [EMAIL PROTECTED]; Rules Users List Subject: Re: [rules-users] Another problem Hi Starke, Thanks a lot for your inputs. Apart from being able to debug using your

Re: [rules-users] Another problem

2007-07-18 Thread Natraj Gudla
Hi Starke, Thanks a lot for your inputs. Apart from being able to debug using your stuff, my main concern is that a simple declaration is making the rule not to fire. Why is that so? I am pretty sure, when i remove that particular line the fact which is passed passes the condition. The Drools do

Re: [rules-users] Another problem

2007-07-18 Thread Dr. Gernot Starke
Hi Natraj, I wrote up a few tactics to (successfully) debug rules: http://rbs.gernotstarke.de/faq/faq/faq-devel.html It's neither finished nor complete - but try it out... (test both conditions with one rule for each of them, test for the existence of the appropriate facts, include a catchall-ru

[rules-users] Another problem

2007-07-18 Thread Natraj Gudla
Hi, I am using Drools 3.0.6, and facing a peculiar problem. My rule: * rule* "Calculate Business profit,1"* **salience* 1000 *when **EMIAgainstProperty ( BP1 : refBP1 ) *emi : EMIAgainstProperty ( businessProfit2 > BP1 ) *then* * *System.out.println(" BP "+(emi.getBusinessProfit1 ()+emi.getB