[rt-users] help with script.

slamp slamp slackamp at gmail.com
Thu Aug 2 14:32:18 EDT 2007

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.

More information about the rt-users mailing list