Kernel::System::OTRSServiceBasedQueueRouting

NAME

Kernel::System::OTRSServiceBasedQueueRouting – service queue mapping lib

SYNOPSIS

All service queue mapping functions.

PUBLIC INTERFACE

new()

create an object. Do not use it directly, instead use:

    use Kernel::System::ObjectManager;
    local $Kernel::OM = Kernel::System::ObjectManager->new();
    my $OTRSServiceBasedQueueRoutingObject = $Kernel::OM->Get('Kernel::System::OTRSServiceBasedQueueRouting');
ServiceList()

return the list of services that are related to a queue

    my %ServiceList = $OTRSServiceBasedQueueRoutingObject->ServiceList(
        QueueID => 321,
    );
QueueList()

return the list of queues that are related to a a service

    my %QueueList = $OTRSServiceBasedQueueRoutingObject->QueueList(
        ServiceID => 321,
    );
ServiceAllocationSave()

save the queues related to a service

    my $Success = $OTRSServiceBasedQueueRoutingObject->ServiceAllocationSave(
        ServiceID => 123,
        QueueIDs  => [3,6,7],
        UserID    => 123,
    );
QueueAllocationSave()

save the services related to a queue

    my $Success = $OTRSServiceBasedQueueRoutingObject->QueueAllocationSave(
        QueueID    => 321,
        ServiceIDs => [2,4,9],
        UserID     => 123,
    );
Scroll to Top