Hi Tyler, <br><br>Sorry, I put you a little wrong before. I have done some looking and testing. It appears what you want to do is actually override the template rather than the Scrip to stop that resolve email going out.<br>
<br>For example my Global - Email on Resolve scrip uses a global template in the Name of Resolve. To overide this at the queue level just create a new template with exactly the same name as your global one uses.<br><br>
<br><img title="?ui=2&view=att&th=125514c44c933027&attid=0.1&disp=attd&realattid=ii_125514c44c933027&zw" alt="?ui=2&view=att&th=125514c44c933027&attid=0.1&disp=attd&realattid=ii_125514c44c933027&zw" src="cid:ii_125514c44c933027"><br>
<br>The screeshot shows my one from our testing queue. I have just created the Resolve template again at the queue level, just leave all the content blank. RT then should not send an email at all. You can do the same for the autoreply on Create scrip. <br>
<br><div dir="ltr"><div><b><br>Regards,</b><blockquote style="margin: 1.5em 0pt;">
<p><b>Aaron Guise<br><br>
<img src="http://www.guise.net.nz/images/signatures/ph.jpg" border="0" height="22" width="25">
07 838 7793<br>
<img src="http://www.guise.net.nz/images/signatures/mob.gif" border="0" height="24" width="30">027
212 6638<br>
<img src="http://www.guise.net.nz/images/signatures/email.gif" border="0" height="26" width="29"><a href="mailto:aaron@guise.net.nz" target="_blank">aaron@guise.net.nz</a><br>
</b><br>
<img src="http://www.guise.net.nz/images/signatures/itil_logo.gif" height="30"> <img src="http://www.guise.net.nz/images/signatures/officiallogo-nd-25.jpg"> <img src="http://www.guise.net.nz/images/signatures/ubuntu.png" height="30"></p>
</blockquote></div><div dir="ltr" style="padding: 10px 0pt 5px; font-family: arial,sans-serif; font-size: 13.3px;"><img src="http://www.images.wisestamp.com/msn.png" style="vertical-align: middle; padding-right: 5px;" alt="" height="16" width="16"><font style="color: gray; font-weight: bold; font-size: 9pt;">MSN: </font><font style="vertical-align: middle;"><a href="mailto:guisea@hotmail.com">guisea@hotmail.com</a></font></div>
<div dir="ltr" style="padding: 5px 0pt; font-family: arial,sans-serif; font-size: 13.3px;"><span style="color: gray;">Contact Me</span> <a href="http://www.facebook.com/shadysandman" target="_service" style="padding: 0pt 2px;"><img src="http://www.images.wisestamp.com/facebook.png" alt="Facebook" style="vertical-align: middle; padding-bottom: 5px;" border="0" height="16" width="16"></a> </div>
</div><br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 10:23 PM, Aaron Guise <span dir="ltr"><<a href="mailto:aaron@guise.net.nz">aaron@guise.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hmmm, I'll check our environment out tomorrow and let you know what I find.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 5:37 AM, Tyler Hall <span dir="ltr"><<a href="mailto:tyler@tylerhall.net" target="_blank">tyler@tylerhall.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey Aaron -<br>
<br>
I got a change to try it out today, but it doesn't seem to write.<br>
Scrip 3 is the script that sends the auto response, so I duplicated it<br>
for the abuse queue, but it doesn't seem to do anything...<br>
<div><div></div><div><br>
<br>
<br>
On Sun, Nov 29, 2009 at 5:16 PM, Tyler Hall <<a href="mailto:tyler@tylerhall.net" target="_blank">tyler@tylerhall.net</a>> wrote:<br>
> Thanks Aaron! I'll try it out, been out of the office all week due<br>
> to the holiday.<br>
><br>
><br>
><br>
> On Wed, Nov 25, 2009 at 12:20 AM, Aaron Guise <<a href="mailto:aaron@guise.net.nz" target="_blank">aaron@guise.net.nz</a>> wrote:<br>
>> Hi Tyler,<br>
>> That should be simple, you should not even need to touch perl to do this.<br>
>> Just simply overriding the script that sends the email should do the<br>
>> trick.<br>
>> For Example:<br>
>> In your Abuse Queue create a scrip with the same name e.g.<br>
>> OnResolve(Whatever) Set it to use template blank, this then will not send a<br>
>> notification. You would need to do this for any of the global scrips which<br>
>> you would like to override the default action. I hope this makes some<br>
>> sense, if not then let me know.<br>
>> --<br>
>> Regards,<br>
>><br>
>> Aaron<br>
>><br>
>> On Fri, Nov 20, 2009 at 8:22 AM, Tyler Hall <<a href="mailto:tyler@tylerhall.net" target="_blank">tyler@tylerhall.net</a>> wrote:<br>
>>><br>
>>> Great, that works wonders.<br>
>>><br>
>>> Sadly, I believe this is perl and perl isn't my strong point.<br>
>>><br>
>>> I have one less request, I am willing to pay.<br>
>>><br>
>>> I was hoping these same conditions could work for certain queues... I<br>
>>> have a queue called 'Abuse' that when someone sends to, or resolves<br>
>>> from I would prefer not to send out the auto response/closure email,<br>
>>> is that something you think you could code up for me?<br>
>>><br>
>>> Thanks,<br>
>>> --Tyler<br>
>>><br>
>>><br>
>>> On Tue, Nov 17, 2009 at 7:28 PM, Aaron Guise <<a href="mailto:aaron@guise.net.nz" target="_blank">aaron@guise.net.nz</a>> wrote:<br>
>>> > Yeah,<br>
>>> ><br>
>>> > You need to put that script into the scrip that sends the resolve email<br>
>>> > too.<br>
>>> ><br>
>>> > Mine looks like this;<br>
>>> ><br>
>>> > my @exceptionList = ('<a href="mailto:gentrack@ham.sitel.co.nz" target="_blank">gentrack@ham.sitel.co.nz</a>',<br>
>>> > '<a href="mailto:hamdb02@ham.sitel.co.nz" target="_blank">hamdb02@ham.sitel.co.nz</a>',<br>
>>> > '<a href="mailto:gentrack@genesisenergy.co.nz" target="_blank">gentrack@genesisenergy.co.nz</a>',<br>
>>> > '<a href="mailto:root@hamrt01.ham.sitel.co.nz" target="_blank">root@hamrt01.ham.sitel.co.nz</a>',<br>
>>> > '<a href="mailto:genfax@sanderson.co.nz" target="_blank">genfax@sanderson.co.nz</a>');<br>
>>> ><br>
>>> > my $transactionType = $self->TransactionObj->Type;<br>
>>> > my $transactionField = $self->TransactionObj->Field;<br>
>>> > my $transactionVal = $self->TransactionObj->NewValue;<br>
>>> > my $ticketRequestor = lc($self->TicketObj->RequestorAddresses);<br>
>>> ><br>
>>> > if ($transactionType eq 'Status' && $transactionField eq 'Status' &&<br>
>>> > $transactionVal eq 'resolved' ) {<br>
>>> > return if grep { $ticketRequestor eq lc($_) } @exceptionList;<br>
>>> > return 1;<br>
>>> > }<br>
>>> > return;<br>
>>> ><br>
>>> > --<br>
>>> > Regards,<br>
>>> ><br>
>>> > Aaron<br>
>>> ><br>
>>> ><br>
>>> > On Wed, Nov 18, 2009 at 8:34 AM, Tyler Hall <<a href="mailto:tyler@tylerhall.net" target="_blank">tyler@tylerhall.net</a>> wrote:<br>
>>> >><br>
>>> >> Thanks so much!<br>
>>> >><br>
>>> >> Do you know if there's a similar script for 'Resolve'? I changed the<br>
>>> >> custom code from 'Create' to 'Resolve' (and 'Resolved') but it didn't<br>
>>> >> seem to work.<br>
>>> >><br>
>>> >> Thanks,<br>
>>> >> Tyler<br>
>>> >><br>
>>> >><br>
>>> >> On Mon, Nov 16, 2009 at 7:58 PM, Aaron Guise <<a href="mailto:aaron@guise.net.nz" target="_blank">aaron@guise.net.nz</a>><br>
>>> >> wrote:<br>
>>> >> > You probably need to check this out;<br>
>>> >> > <a href="http://wiki.bestpractical.com/view/OnCreateAutoReplyException" target="_blank">http://wiki.bestpractical.com/view/OnCreateAutoReplyException</a><br>
>>> >> ><br>
>>> >> > --<br>
>>> >> > Regards,<br>
>>> >> ><br>
>>> >> > Aaron<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > On Tue, Nov 17, 2009 at 7:45 AM, Tyler Hall <<a href="mailto:tyler@tylerhall.net" target="_blank">tyler@tylerhall.net</a>><br>
>>> >> > wrote:<br>
>>> >> >><br>
>>> >> >> All -<br>
>>> >> >><br>
>>> >> >> Is it possible for RT to add an email into a ticket, however do not<br>
>>> >> >> send an auto response, just for certain from addresses?<br>
>>> >> >><br>
>>> >> >> Thanks!<br>
>>> >> >> _______________________________________________<br>
>>> >> >> <a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
>>> >> >><br>
>>> >> >> Community help: <a href="http://wiki.bestpractical.com" target="_blank">http://wiki.bestpractical.com</a><br>
>>> >> >> Commercial support: <a href="mailto:sales@bestpractical.com" target="_blank">sales@bestpractical.com</a><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
>>> >> >> Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>