Queue change scrip not working

Hello,

I’ve created a global “OnQueueChange” scrip but I’d like to tell,
in the message, the name of the queue the ticket was transferred to.

All I have is {$Transaction->NewValue} which is numeric. How can I do
the lookup ?

Thanks for your help,

JC

Hi

In my template, I use

   my $action = "Queue changed to " . $Ticket->QueueObj->Name ;

$Ticket->QueueObj->Name gives you the name of the NEW queue.

You could also use $Transaction->Description which does all the work for
you,
This gives something like

Queue changed from AAA to BBB by XXX

GerardOn 2012-03-16 15:43, Jean-Christophe Boggio wrote:

Hello,

I’ve created a global “OnQueueChange” scrip but I’d like to tell,
in the message, the name of the queue the ticket was transferred to.

All I have is {$Transaction->NewValue} which is numeric. How can I do
the lookup ?

Thanks for your help,
JC

Gerard,

Le 16/03/2012 16:20, Gerard FENELON a �crit :

In my template, I use

my $action = "Queue changed to " . $Ticket->QueueObj->Name ;

$Ticket->QueueObj->Name gives you the name of the NEW queue.

Perfect, thanks a lot.

You could also use $Transaction->Description which does all the work for you,
This gives something like

Queue changed from AAA to BBB by XXX

I would have but it’s not translated and we have non-english users.

Best regards,