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
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users