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-diale...
Sent from the Drools: User forum mailing list archive at
Nabble.com.