Hi,
I am trying to write the following rule using Drools 5.1 but having issues.
when
Employee ($name : name, $ age : age)
Event ($eventName : eventName , $ageLimit : ageLimit)
eval($age < $ ageLimit)
then
System.out.println (“ Can participate in the event ”);
end
The rule fails to compile.
Regards,
Akash