[rt-users] Notify Requestor on Requestor change

Helmuth Ramirez HelmuthRamirez at compupay.com
Mon Jan 15 09:26:21 EST 2007


Thanks Taan,
  Now for my ignorant question...the code below is to Notify AdminCC's
when they get added to a ticket...what would I need to change to make it
work to notify Requestors?

Sorry if its a dumb question.

Thanks
Helmuth

-----Original Message-----
From: Taan Lindemans [mailto:taan at cryologic.com] 
Sent: Sunday, January 14, 2007 9:53 PM
To: rt-users at lists.bestpractical.com
Cc: Helmuth Ramirez
Subject: Re: [rt-users] Notify Requestor on Requestor change

 > You would need a Custom Action as well to send a message to the new 
Requestor only.

I was wrong, you need the Custom Condition mentioned earlier, with 
action: "Notify Other Recipients" and a Custom Template with something 
similar to that below. This works with RT-3.6.0.

Note: This only works for AdminCc's added after the ticket was created.


Custom Template "Notify new AdminCC":

To: {
my $userID = $Transaction->NewValue;
my $user = RT::User->new($RT::SystemUser);
$user->Load($userID);
$user->EmailAddress;
}

Subject: AdminCc Added for: {$Ticket->Subject}

The body of your email here.



More information about the rt-users mailing list