-
Enhancement
-
Resolution: Done
-
Trivial
-
None
-
8.44.0.Final
-
None
-
Documentation (Ref Guide, User Guide, etc.)
-
NEW
-
NEW
-
---
-
---
Should "DaysOfWeek.MONDAY" in rule example be changed to "DaysOfWeek.MON" to match enum definition?
has this example
"
declare enum DaysOfWeek
SUN("Sunday"),MON("Monday"),TUE("Tuesday"),WED("Wednesday"),THU("Thursday"),FRI("Friday"),SAT("Saturday");
fullName : String
end
rule "Using a declared Enum"
when
$emp : /employees[ dayOff == DaysOfWeek.MONDAY ]
then
...
end
"