By "IDE" I assume you mean Eclipse? Can you try as vanilla DRL?

There were alot of changes for 5.2 for "free form expressions" and perhaps you've found a regression.

On 19 July 2011 21:52, Jamie <jshaw@llbean.com> wrote:
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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users