[rules-users] Issue using global 'variable' with Drools 5.2 in DRL

Wolfgang Laun wolfgang.laun at gmail.com
Fri Sep 23 01:15:54 EDT 2011


On 23 September 2011 00:26, Slorg1 <slorg1 at percipiomedia.com> wrote:

>
> global java.util.Date now;
>
> When calling it in a rule:
>
> rule "MyRule"
>   when
>      EXPRESSION >=   now.time
>   then
>      // things to do
> end
>
>
This comparison isn't in an eval CE or within a pattern? As it is written it
can't be correct, global or no global.
-W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110923/aca1ba65/attachment.html 


More information about the rules-users mailing list