-users@lists.jboss.org
Subject: Re: [rules-users] Accumulate in Drools
Which version of MVEL are you using?
Edson
2010/8/17 Manav manav7574 at yahoo.com
Here's the modified rule :
rule Test Accumulate Function
when
$p : ProductType ($name : name)
$min_score : Number ()
from
From: Edson Tirelli tire...@post.com
To: Manav manav7...@yahoo.com; 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
*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 (Client (productTypeExperience.keySet contains $name,
$score
On 16 August 2010 05:43, Manav manav7...@yahoo.com 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
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],
From: Edson Tirelli tire...@post.com
To: Manav manav7...@yahoo.com; 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
use
*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 (Client (productTypeExperience.keySet contains $name,
$score
This isn't quite right:
2010/8/16 Edson Tirelli tire...@post.com
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,
tire...@post.com
To: Manav manav7...@yahoo.com; 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
use it as part of an expression. So
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