DSL Validation fails with mismatched input '-' expecting 'then' in BRMS on Windows
Issue
- I am trying to use a variable in my DSL :
[condition] [$testObject]There is a TestObject=$testObject : TestObject()
[condition] [$testObject]- var less than {var} some criteria=var < {var}
- The result is a validation exception:
[SampleTest] [ERR 102] Line 5:2 mismatched input '-' expecting 'then' in rule "SampleTest"
Environment
- JBoss Enterprise Business Rules Management System Platform (BRMS)
- 5.x
- Windows
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.
