Hi All,

env:
rule engine:3.0.4

Here is the rule:

$s :(Student($startDate : startDate ->(utilService.dateWithin($startDate,(new
Date()),7, utilService.UNIT_DAY))) and Student(examDate == null));

When using 'AND' to  filter out Students meeting both two conditions, the
rule editor tells:
Multiple markers at this line
-unknown: 91:144 Unexpected token ')'
-unknown: 91:115 mismatched token: [EMAIL 
PROTECTED],2587:2589='and',<54>,91:115];
expecting type ')'

But once replacing the 'AND' with 'OR', it works fine....

The syntax for 'AND and 'OR' operator at documentation(3.0.4) are the same.
why 'AND' can't work at foregoing scenario??
Is there any idea?

Thanks!
rgds
Weily

Reply via email to