[rt-users] onChangeToQueueXNotifyRequestors

Luke Vanderfluit lvanderf at internode.com.au
Wed Mar 1 17:41:51 EST 2006


Hi.

I'm struggling to get a scrip to work.

I want to notify the requestor when a ticket is changed from any queue 
to queueA

I have the following:


Description:  onChangeToQueueXNotifyRequestors
Condition:    User Defined
Action:       Notify Requestors
Template:     Global template: Transaction
Stage:        TransactionCreate

Custom condition:
if (
      $self->TransactionObj->Type eq "Set"
 && $self->TransactionObj->Field eq "Queue"
 && $self->TransactionObj->NewValue eq "3"  # 3 is the number  for queueA
 ) {
  return 1;
  } else {
  return 0;
  }

Custom action prep code:
Custom action cleanup code:

What should I change?
var/adm/messages shows:  'RT: error:    unexpected end of header\n\n 
(/usr/local/rt3/lib/RT/Template_Overlay.pm:369)'

Thanks.
Kind regards.

-- 
Luke




More information about the rt-users mailing list