[rules-users] How to the set "drools.dialect.mvel.strict" usingDrools+Spring?
Nicolás Sanchez
sancheznicolas89 at gmail.com
Thu Jun 16 13:41:57 EDT 2011
This is the rule, that used to work on drools 5.1.1 and now fails when
compiling in drools 5.2.0.CR1
rule "Transaction at unusual hours"
dialect "mvel"
when
$event : Event( callDateTime.hours >= 2,
callDateTime.hours <= 6,
amount > 4000) from entry-point Event
then
actuator.writeOutput(kcontext, hashMap.get($event.userId));
end
The error that throws, is the next one:
[Error: unable to resolve method using strict-mode:
com.wordpress.nicozan.Actuator.writeOutput(org.drools.spi.KnowledgeHelper,
java.lang.Object)]
[Near : {... actuator.writeOutput(kcontext, hashMap. ....}]
--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-How-to-the-set-drools-dialect-mvel-strict-using-Drools-Spring-tp3064468p3072994.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list