[rt-users] ServiceBusinessHours issue with more then one definition.

Joop Boonen joop_boonen at web.de
Wed Oct 17 07:56:47 EDT 2012


Hi all,

I'm trying to set up ServiceBusinessHours.
For some reason it doesn't seem to work, when I have more definitions. 
Is seems to only use the Default.

Set( %ServiceBusinessHours,
         'Default' => {
                 1 => { Name => 'Monday', Start => '9:00', End => 
'18:00' },
                 2 => { Name => 'Tuesday', Start => '9:00', End => 
'18:00' },
                 holidays => [qw(2012-10-22 2012-10-23 2012-10-29)],
         },
         'DEF1' => {
                 1 => { Name => 'Monday', Start => '9:00', End => 
'17:30' },
                 2 => { Name => 'Tuesday', Start => '9:00', End => 
'17:30' },
                 3 => { Name => 'Wednesday', Start => '9:00', End => 
'17:30' },
                 holidays => [qw(2012-10-22 2012-10-24 2012-10-29)],
         },
         'DEF2' => {
                 1 => { Name => 'Monday', Start => '9:00', End => 
'13:30' },
                 2 => { Name => 'Tuesday', Start => '9:00', End => 
'13:30' },
                 3 => { Name => 'Wednesday', Start => '9:00', End => 
'13:30' },
                 holidays => [qw(2012-10-21 2012-10-24 2012-10-29)],
         },
);

In the CPAN file on 
http://search.cpan.org/~tsibley/RT-Extension-SLA-0.07/lib/RT/Extension/SLA.pm#Configuring_business_hours
I cant find where the keywords, in my case DEF1, DEF2, etc reference 
to. I assume it's to a group.

I want to accomplish the following.

To have more ServiceBusinessHours settings, for different countries 
with different timezones, holidays and business hours.

I'm using Request Tracker 4.0.6 and RT-Extension-SLA-0.07.

Regards,

Joop.



More information about the rt-users mailing list