In a BRL guided rule (or Rule Template) click on the &quot;Options&quot; section at the bottom of the editor and choose the &quot;Calendars&quot; attribute.<br><br><div class="gmail_quote">On 10 May 2012 16:11, FlyingEagle <span dir="ltr">&lt;<a href="mailto:elisabeth.wirth@wincor-nixdorf.com" target="_blank">elisabeth.wirth@wincor-nixdorf.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have a rule, which only may be fired at night.<br>
So I have defined in the drl the following:<br>
<br>
rule &quot;MyRule&quot;<br>
    calendars &quot;night-hours&quot; // defines daily interval from 0am to 6am<br>
    when<br>
        ...<br>
    then<br>
        ...<br>
end<br>
<br>
How can I define this in Guvnor?<br>
<br>
Thx<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Does-Guvnor-support-calendar-definitions-tp3977363.html" target="_blank">http://drools.46999.n3.nabble.com/Does-Guvnor-support-calendar-definitions-tp3977363.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>