You could try this:
1.  Copy the Correspondence template into a new custom template.
2. 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. 3. 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
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com

Reply via email to