[rules-users] Rule not compiling in IDE after migration to 5.2
Jamie
jshaw at llbean.com
Tue Jul 19 16:52:55 EDT 2011
This rule used to compile in the IDE under Drools 5.1.1:
when
$order: OrderFact(numberOfCreditCardDeclines >
FraudCCDeclines.find().getCreditCardDeclinesThreshold())
then
//do something
but it's breaking since I moved to 5.2, although it runs fine when I deploy
it to the server. Any idea why?
If I make the > comparison static, like this:
when
$order: OrderFact(numberOfCreditCardDeclines > 5)
then
//do something
It also works fine. What's wrong?
--
View this message in context: http://drools.46999.n3.nabble.com/Rule-not-compiling-in-IDE-after-migration-to-5-2-tp3183689p3183689.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list