In a BRL guided rule (or Rule Template) click on the "Options" section at the bottom of the editor and choose the "Calendars" attribute.

On 10 May 2012 16:11, FlyingEagle <elisabeth.wirth@wincor-nixdorf.com> wrote:
Hi,

I have a rule, which only may be fired at night.
So I have defined in the drl the following:

rule "MyRule"
   calendars "night-hours" // defines daily interval from 0am to 6am
   when
       ...
   then
       ...
end

How can I define this in Guvnor?

Thx

--
View this message in context: http://drools.46999.n3.nabble.com/Does-Guvnor-support-calendar-definitions-tp3977363.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users