Can't change subject before autoreply and notify

I’m trying to modify the subject of an incoming ticket of a specific
queue but I’m running into a problem. I have a queue-specific scrip
setup to modify the subject using $TicketObj->SetSubject. However, the
global scrips that notify the requestor and CC’s don’t see the subject
change so the initial e-mails that go out don’t have the new subject.
I’ve tried switching the stage to TransactionBatch but it didn’t help.
Any ideas on how I can get the Subject changed before any e-mails go
out?

-=Kevin=-

I ran into the exact same problem :slight_smile: I believe the solution offered
was to disable the global scrips then enable them on a queue-by-queue
basis. Then for this queue, you could have your own scrip that did what
you needed in addition to what the global scrip also accomplished. I
also believe someone came up with a “disable global scrips” hack - you
should search for this in the list archives, this was in the past few
weeks.

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of O’Brien,
KevinSent: Monday, January 23, 2006 11:58 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Can’t change subject before autoreply and
notify

I'm trying to modify the subject of an incoming ticket of a

specific queue but I’m running into a problem. I have a queue-specific
scrip setup to modify the subject using $TicketObj->SetSubject.
However, the global scrips that notify the requestor and CC’s don’t see
the subject change so the initial e-mails that go out don’t have the new
subject. I’ve tried switching the stage to TransactionBatch but it
didn’t help. Any ideas on how I can get the Subject changed before any
e-mails go out?

-=Kevin=-