Re: [rt-users] Queue change scrip not working

2012-03-19 Thread Jean-Christophe Boggio

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,


Re: [rt-users] Queue change scrip not working

2012-03-16 Thread Gerard FENELON

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

Gerard


On 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