Hi,

I a queue called fr

There is a simple autoreply that is bound to this queue.

Scrip is setup:

Condition: OnCreate
Action: User defined
Template: Autoreply
Stage: TransactionCreate
Custom condition: return 1;
Custom action preparation code:

Custom action cleanup code:

 # Change queue
 my $newqueue = "1.General";
 my $T_Obj = $self->TicketObj;

$RT::Logger->info("Auto assign ticket #". $T_Obj->id ." to queue #". $newqueue );
 my ($status, $msg) = $T_Obj->SetQueue($newqueue);
 unless ($status) {
     $RT::Logger->warning("unable to set new queue: $msg");
     return undef;
 }
 return 1;

It is not a typo "1.General" it is the proper name of the queue that I want new tickets to be moved to.


Not sure what I am doing wrong but it doesn't work.
Can anyone tell me how to debug this?
Trace this?

What am I doing wrong?

Thanks,
Gilbert.
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26 & 27, 2011
*  San Francisco, CA, USA  October 18 & 19, 2011
*  Washington DC, USA  October 31 & November 1, 2011
*  Melbourne VIC, Australia  November 28 & 29, 2011
*  Barcelona, Spain  November 28 & 29, 2011

Reply via email to