Hi,
As per documentation, I'm trying to use a simple rule for date comparison,
rule "EFP_14"
when
v:ResourceValue(QName == "A.datetime", value > "01-nov-2011")
then
System.out.println("--> Rule executed");
end
but I get following error while executing rule.
Not possible to compare a class java.util.Date with a class java.lang.String
It's actually default date format so should work, why is it complaining for class casting? Am I doing something wrong here?