[jboss-jira] [JBoss JIRA] Created: (JBRULES-1186) Adding 'OR' constraints to fact's properties in DSL

Andy Mei (JIRA) jira-events at lists.jboss.org
Wed Sep 12 13:32:21 EDT 2007


Adding 'OR' constraints to fact's properties in DSL
---------------------------------------------------

                 Key: JBRULES-1186
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1186
             Project: JBoss Rules
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Drl Parser/Builder
    Affects Versions: 4.0.1
         Environment: All OS platform
            Reporter: Andy Mei
         Assigned To: Mark Proctor
            Priority: Critical


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list