This is a scrip I use for adding a requestor. All you'd have to do is change
the AddWatcher to DeleteWatcher and set up your conditions to what you need:
Condition: User Defined
Action: User Defined
Template: Global template: Blank
Stage: TransactionCreate
Custom condition:
You'll either want
That worked!
The custom action cleanup code I had to use is:
my $T_Obj = $self-TicketObj;
my $requestor_address = $T_Obj-RequestorAddresses;
$RT::Logger-info(* ReqAddr is $requestor_address);
$T_Obj-DeleteWatcher (
Type = Requestor,
Email = $requestor_address
);
Hello list,
I have a rather strange request, I want to delete a requestor when a
ticket is created. Reason being, as the ticket is assigned to different
queues, replies to requestor are sent by the other queues, and that is
usually not needed for external requests. The easiest way to address
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Nelson
Sent: Monday, October 15, 2007 4:40 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] (Scrip help) Deleting a requestor upon ticket
creation.
Hello list,
I have a rather strange request, I want
, October 15, 2007 4:40 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] (Scrip help) Deleting a requestor upon ticket
creation.
Hello list,
I have a rather strange request, I want to delete a requestor when a
ticket is created. Reason being, as the ticket is assigned to different
queues
I do this with some of our tickets. I'll post what I use in the morning
if someone else hasn't already.
Keep up with my goings on at http://theillien.blogspot.com
Chris Nelson wrote:
Hello list,
I have a rather strange request, I want to delete a requestor when a
ticket is created. Reason