YOU have made my Day! :jumping: Thanks for the immediate reply.
rgds
ABRA2
--
View this message in context:
http://old.nabble.com/Help-me-improve-my-rules-performance.-tp26261345p26367500.html
Sent from the drools - user mailing list archive at Nabble.com.
_
On Mon, Nov 16, 2009 at 7:16 AM, Greg Barton wrote:
> The answer to both questions is basically the same: use the "this"
> reference.
>
> rule CheckValidBinNumber
> when
> $br:BillingRecord(cardNo!=null || cardNo!="")
>
This part, taken from the original mail, looks suspicious to me: if
cardNo
cordHelper.MERCHANT_NO_ASSIGNED_INFO,log);
end
--- On Sun, 11/15/09, ABRA2 wrote:
> From: ABRA2
> Subject: Re: [rules-users] Help me improve my rules performance.
> To: rules-users@lists.jboss.org
> Date: Sunday, November 15, 2009, 11:13 PM
>
> ThanksĀ a lot. Your suggestions h
Thanks a lot. Your suggestions has helped me improve my rule's performance.
I have two more rule i need help with.
1. How do i check for condition of boolean variable without using eval like
in the case below?
rule CheckValidBinNumber
when
$br:BillingRecord(cardNo!=null || cardNo!="")
$
rdHelper.BAC_ASSIGNED_INFO,log);
end
And I figure rules like this will be a heck of a lot faster...
--- On Sun, 11/8/09, ABRA2 wrote:
> From: ABRA2
> Subject: [rules-users] Help me improve my rules performance.
> To: rules-users@lists.jboss.org
> Date: Sunday, November 8, 2009, 11
Hi,
I have an example of two rules we use in our project.
Rule CheckStationNumber checks if the station number field is null in
BillingRecord Object which is
stored as a list in AssertionObject object.
Rule AssignBAC gets a value from a static map(we dont want to do database
calls eachtime.so w