Currently I have this script to notify AdminCc on correspond when a
ticket is owned by Nobody.
Condition: User Defined
Action: Notify AdminCcs
Template: Global template: Correspondence
Stage: TransactionCreate
if (($self->TransactionObj->Type eq “Correspond”) and
($self->TicketObj->OwnerObj->Id == $RT::Nobody->Id)) { return(1); }
else { return(undef); }
How do I edit this so it will not send to AdminCcs that are already
part of the Cc? The reason being I also have another scrip that adds a
corresponder as a Cc.
You could try this:
- Copy the Correspondence template into a new custom template.
- Add some code to the template that reads in the AdminCcs and Ccs, then
makes a mailing list from those AdminCc members that are not in the Cc list.
- Change the scrip action to: Notify Other Recipients; you have to supply
your own list of recipients (step 2) in the template.
Have fun!
Gene
At 11:32 AM 8/2/2007, slamp slamp wrote:
Currently I have this script to notify AdminCc on correspond when a
ticket is owned by Nobody.
Condition: User Defined
Action: Notify AdminCcs
Template: Global template: Correspondence
Stage: TransactionCreate
if (($self->TransactionObj->Type eq “Correspond”) and
($self->TicketObj->OwnerObj->Id == $RT::Nobody->Id)) { return(1); }
else { return(undef); }
How do I edit this so it will not send to AdminCcs that are already
part of the Cc? The reason being I also have another scrip that adds a
corresponder as a Cc.
Gene LeDuc, GSEC
Security Analyst
San Diego State University