[
https://jira.jboss.org/jira/browse/JBRULES-1186?page=com.atlassian.jira.p...
]
Edson Tirelli updated JBRULES-1186:
-----------------------------------
Component/s: drools-compiler-DSL
(was: drools-compiler)
Affects: [Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial]
(was: [Interactive Demo/Tutorial, Documentation (Ref Guide, User Guide, etc.)])
Adding 'OR' constraints to fact's properties in DSL
---------------------------------------------------
Key: JBRULES-1186
URL:
https://jira.jboss.org/jira/browse/JBRULES-1186
Project: JBoss Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: drools-compiler-DSL
Affects Versions: 4.0.1
Environment: All OS platform
Reporter: Andy Mei
Assignee: Edson Tirelli
Priority: Minor
Fix For: FUTURE
I would like to write something like this :
There is a Cheese with
( - age is less than 42
or
- age is more than 60 )
- type is 'stilton'
Unfortunately, It's the drools parser which manage "-" char.
Also this previous synthax don't work in the LHS.
Anyone could help me to do an equivalent condition in my DSL ? If possible with
"-" sugar char.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira