[rt-users] Overriding Global Scrips at the Queue Level

Stephen Turner sturner at MIT.EDU
Tue Nov 18 11:10:03 EST 2003


I gather from other messages on the list that there's no clean way to
override a global scrip with a queue-specific scrip.

One suggestion was to modify the global scrip so that it doesn't
execute for a given queue. I tried this but I'm still getting both
the global & queue scrips firing.

I'm working with the "On Create Autoreply To Requestors with template 
Autoreply"
scrip. I want a different template sending out for a particular queue when
a new ticket is created.

Here's what I put in the custom condition for the global scrip:

return ($self->TicketObj->QueueObj->Name ne "RTProblems");

I'm thinking that for my RTProblems queue, this should return
"false" and the global scrip should not send email - only the
queue-level scrip for RTProblems should send mail.

I'm still getting 2 emails though, one from the global scrip & one from the
queue scrip.

Any ideas?

Thanks,
Steve






More information about the rt-users mailing list