Not at the moment, easiest way is to use a function call in a return value.

Mark
Brian Enderle wrote:
I need to code a rule which checks that the begin date for an object is at least two years ago (from todays date). Is there an easy way to code this within Drools rule, something like:

when
   Reference(fromDate > (todaysDate - 2 years))
then
   <Output error>
end

Thanks in advance,
Brian Enderle

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to