Short params syntax($1, $2...) in decision tables does not work with more than 10 values ($10, $11...) in BRMS
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
