I want to compare the date structure YYYY-MM-DD in when part. Can I do this?? any help will be appreciated..
rule "name"
when
DateRange($endDate: endDate !=null) // $endDate ==” YYYY-MM-DD” structure
then
log.info("..........")
end