On Fri, 04 Dec 2009 12:53:00 -0500, "Kyle McKinley" <[email protected]> said:
> So I have queue "turnup" that has a scrip OnCreate>NotifyCCs.  I just 
> started playing around with Reminders.  They create a new ticket in that 
> queue, but oddly enough, don't show up in the RT at a Glance 
> SavedSearch, where they actually should according to my parameters 
> (Queue= Turnup AND Status NOT Resolved.)  Which is fine because I don't 
> want them there.  The problem is that my CCs are getting emailed 
> something that is totally unrelated to what the Template was created for 
> ie. notifying my CCs of a new customer for Turnup.  I only want the 
> Owner of the reminder to receive an email.  Is there any was around this 
> issue?  I can't seem to find anything related in the archives.  BTW, 
> this is my first post here.

So, you want CCs to be notified when a normal ticket is created, but not
when a reminder is created?
I think you'll need to set a custom condition for the OnCreate NotifyCCs
scrip, something that will trigger when the transaction type is Create
and the ticket type is not reminder.

I'm-not-yet-fully-awake-so-check-my-work-first maybe-working code
follows:
my $trans = $self->TransactionObj;
my $ticket = $self->TicketObj;
return 0 unless $trans->Type == 'Create';
return 0 unless $ticket->Type != 'reminder';
return 1;
_______________________________________________
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