Steven Williams was heard to exclaim, On 11/27/06 20:25:
> Could use a global for the "now" and then use the function to calculate
> differences from that?
I don't think that drools would "notice" that the function's return value was
dependent on the global, and thus inconstant. I suspect that drools would
cache the return value the first time it ran the rule, and never bother to
recalculate.
Or maybe not. Anyone know the code well enough to give a definite answer?
--
Dirk Bergstrom [EMAIL PROTECTED]
_____________________________________________
Juniper Networks Inc., Computer Geek
Tel: 408.745.3182 Fax: 408.745.8905
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email