Formulas are not evaluated mathematically correct in Drools using MVEL

Solution Verified - Updated -

Issue

  • Sometimes complex formulas in the RHS of a rule in Drools don't get the correct result so it is necessary enforce the operator precedence by adding parentheses.

Environment

  • Red Hat JBoss BPM Suite
    • 6.x.xx
  • Red Hat JBoss BRM Suite
    • 6.x.xx

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content