time exception that i am getting is
> Caused by: org.drools.RuntimeDroolsException:
> [Error: unable to resolve method: java.util.HashMap.$name() [arglength=0]]
> [Near : {... Unknown }]
>
> Regards,
> Manav
>
____
From: Edson Tirelli
To: Manav ;
rs List <
> rules-users@lists.jboss.org>
> *Sent:* Mon, August 16, 2010 7:46:54 PM
> *Subject:* Re: [rules-users] Accumulate in Drools
>
> You can't use the cast and the method call in a regular constraint.
> You can use it as part of an expression. S
wn }]
Regards,
Manav
From: Edson Tirelli
To: Manav ; Rules Users List
Sent: Mon, August 16, 2010 7:46:54 PM
Subject: Re: [rules-users] Accumulate in Drools
You can't use the cast and the method call in a regular constraint. You
can
use i
To: Manav ; Rules Users List
Sent: Mon, August 16, 2010 7:46:54 PM
Subject: Re: [rules-users] Accumulate in Drools
You can't use the cast and the method call in a regular constraint. You
can
use it as part of an expression. So:
$min_score : Number ()
from accumulate (C
This isn't quite right:
2010/8/16 Edson Tirelli
> You can't use the cast and the method call in a regular constraint.
> You can use it as part of an expression. So:
>
> $min_score : Number ()
>from accumulate (Client (productTypeExperience.keySet contains $name,
>
son Tirelli
> *To:* Manav ; Rules Users List <
> rules-users@lists.jboss.org>
> *Sent:* Mon, August 16, 2010 7:46:54 PM
> *Subject:* Re: [rules-users] Accumulate in Drools
>
> You can't use the cast and the method call in a regular constraint.
> You can u
rds,
Manav
From: Edson Tirelli
To: Manav ; Rules Users List
Sent: Mon, August 16, 2010 7:46:54 PM
Subject: Re: [rules-users] Accumulate in Drools
You can't use the cast and the method call in a regular constraint. You
can
use it as part of an expression. So:
$min_score : Number ()
You can't use the cast and the method call in a regular constraint. You
can use it as part of an expression. So:
$min_score : Number ()
from accumulate (Client (productTypeExperience.keySet contains $name,
$score : productTypeExperience[$name],
mi
On 16 August 2010 05:43, Manav wrote:
> Hi,
> I am trying my hand at the accumulate function in Drools 5.x but the drl
> fails
> to compile.
>
Error message, please.
-W
> Not sure what's wrong with it. Please help.
> This is the sample that i am working with
>
> rule "Test Accumulate Function"
Hi,
I am trying my hand at the accumulate function in Drools 5.x but the drl fails
to compile.
Not sure what's wrong with it. Please help.
This is the sample that i am working with
rule "Test Accumulate Function"
when
$p : ProductType ($name : name)
$min_score : Number ()
from accumulate
10 matches
Mail list logo