Short params syntax($1, $2...) in decision tables does not work with more than 10 values ($10, $11...) in BRMS

Solution In Progress - Updated -

Issue

When using a decision table and trying to pass more than 10 separated by comma parameters and retrieve the tenth parameter or above, we have an error:

Rule Compilation error Syntax error on token "0", delete this token

If we use a " syntax, it will compile to a bad drl file, for example:

rule "ParamTest"
    // Test parameters more than 9
    when
    then
        System.out.println("One0");
end

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 6.x

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