Negation(!) does not work with In operator in RHDM 7

Solution Verified - Updated -

Issue

If symbol "!" is used with In and other operators in drools, there is an exception error

    "Unable to Analyse Expression !(name in ("value1","value2","value3")):
    [Error: unexpected token: ]
    [Near : {... !(name in ("value1","value2"," ....}] "

Environment

  • Red Hat Decision Manager (RHDM)
    • 7

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