Multi-function Accumulates
by Hassan
Hello everybody
I don't know why the Multi-function Accumulates doesn't work,
I m just copying the code given in he documentation
rule "Max, min and average"
when
accumulate( Cheese( $price : price ),
$max : max( $price ),
$min : min( $price ),
$avg : average( $price ) )
then
System.out.println($max+" "+$min+" "+$avg);
end
But it gives me some problems !!
-----
Youssef AZBAKH.
--
View this message in context: http://drools.46999.n3.nabble.com/Multi-function-Accumulates-tp3867251p38...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months
how to use not in oparator in guided decision table in 5.2 version of Guvnor ?
by vadlam
Hi,
how do we specify the condition field1 not in (A,B,C) in a guided decision
table in Guvnor 5.2?
I can use field1 in (A,B,C)
but no option to specify
not in (A,B,C)
if no other option within the guided decision table, I suppose I would have
to go the template route.
unfortunately, we have to add this condition for an existing decision table
that is quite long, so having to add back all that data to a spreadsheet
table would be painful
Thanks for sharing your thoughts.
-----
Ram
--
View this message in context: http://drools.46999.n3.nabble.com/how-to-use-not-in-oparator-in-guided-de...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 3 months
test
by joe_zendle@yahoo.com
please ignore
14 years, 3 months
MVEL interpretation
by Mike Melton
My team is using Drools on a government project. As is usually the case
with government projects, the security folks have their hands in every
aspect of the project. They have big questions on MVEL, but I'm going to
try to boil them down to one simple question:
At what stage(s) of Drools's lifecycle does MVEL interpretation occur? I
think that the compilation engine interprets the MVEL at compile time and
converts it to generated Java code, though I don't know enough about the
internals of the engine to say for sure. Stated another way, does Drools
interpret rules written using the MVEL dialect at runtime?
Thanks
Mike
14 years, 3 months