You should enable the option for dump creation with:
-Ddrools.dump.dir="yourDirectory"
so you can take a look at the generated code
(Process_com_test_sample_0.java) and maybe debug it.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Help-me-understand-this-dr
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
k and
given focus as default.
I would therefore assume that after all activations in the "Check" Agenda
Group executed, the MAIN Agenda Group received focus and remaining
activations processed.
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 0
Hi
I hava a rule file as:
http://drools.org/drools-4.0";
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
xs:schemaLocation="http://drools.org/drools-4.0 drools-4.0.xsd">
(rfq.getM_rfqId() ==null) || (rfq.getM_rfqId().trim().equals(""))
System.out.println("The
Hi Ismail,
If you look at the conditions part of your rule, you can remark that the second
condition doesn't follow the JBoss Rules DRL valid syntax:
(http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.6/):
bound_variable: Name-of-Bean-Class( constraints)
(from he
Hello,
when I execute this code
rule "sample6"
when
act :activity(activityName != "activite1",type:type, activite : activite)
pp: activite.getactivity()
then
act.getActivityName();
System.out.println("deux clés ont la meme valeurs " +act.getActivityName());
end
an er
11 matches
Mail list logo