[rt-users] Change AutoResponse Global Template based on time of the day

Emmanuel Lacour elacour at easter-eggs.com
Thu Oct 16 04:04:01 EDT 2014


Le 15/10/2014 19:50, rjandric via rt-users a écrit :


In your custom condition you should be able to finish by:

if ($hours ...) {
  $self->SetTemplate("WorkingHoursTemplateName");

} elsif ($hours ....) {
  $self->SetTemplate("NonWorkingHoursTemplateName");
}

return 1;

-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com


More information about the rt-users mailing list