TicketQueueSet#
NAME#
Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet - A Module to move a Ticket from to a new queue
DESCRIPTION#
All TicketQueueSet functions.
PUBLIC INTERFACE#
new()#
Don’t use the constructor directly, use the ObjectManager instead:
my $TicketQueueSetObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet');
Run()#
Runs TransitionAction TicketQueueSet.
my $Success = $TicketQueueSetActionObject->Run(
UserID => 123,
# Ticket contains the result of TicketGet including dynamic fields
Ticket => \%Ticket, # required
ProcessEntityID => 'P123',
ActivityEntityID => 'A123',
TransitionEntityID => 'T123',
TransitionActionEntityID => 'TA123',
# Config is the hash stored in a Process::TransitionAction's config key
Config => {
Queue => 'Misc',
# or
QueueID => 1,
UserID => 123, # optional, to override the UserID from the logged user
}
);
Returns:
my $Success = 1; # 0