Brian Enderle wrote:
I would like to create a new Date object representing the current date and use that as a global. I have tried the following:

(in Java code)
setGlobal("todaysDate", new Date());

(in rules file)
global java.utils.Date todaysDate;

Is this exactly in your rules file?
Then it should be "java.util.Date todaysDate;" instead.

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

Reply via email to