If set to transaction batch which is marked Transaction Batch(Disabled) it seems the script is just disabled as no email is sent.<br><br><div class="gmail_quote">On Fri, Feb 27, 2009 at 1:32 AM, Potla, Ashish Bassaliel <span dir="ltr"><<a href="mailto:c_apotla@qualcomm.com">c_apotla@qualcomm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
________________________________________<br>
From: Potla, Ashish Bassaliel<br>
Sent: Thursday, February 26, 2009 5:59 PM<br>
To: Aaron Guise<br>
Subject: RE: [rt-users] A little Scrip help<br>
<div><div></div><div class="Wj3C7c"><br>
Is the scrip set to 'Transaction Batch' or 'Transaction Create'?<br>
Set it to Transaction Batch.<br>
<br>
-Ashish<br>
________________________________________<br>
From: <a href="mailto:rt-users-bounces@lists.bestpractical.com">rt-users-bounces@lists.bestpractical.com</a> [<a href="mailto:rt-users-bounces@lists.bestpractical.com">rt-users-bounces@lists.bestpractical.com</a>] On Behalf Of Aaron Guise [<a href="mailto:aaron@guise.net.nz">aaron@guise.net.nz</a>]<br>
Sent: Thursday, February 26, 2009 4:02 PM<br>
To: <a href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a><br>
Subject: [rt-users] A little Scrip help<br>
<br>
Hi,<br>
<br>
I have implemented a scrip to notify the owner in the event someone else merges data into one of their tickets. All works well but alas it actually sends the notification twice. There is probably a real simple answer but it is baffling me. Have just ignored it the last few months but now I am a little beyond that.<br>
<br>
The scrip used is noted below;<br>
<br>
my $txn = $self->TransactionObj;<br>
return undef unless $txn->Type =~ /^AddLink$/i;<br>
return undef unless $txn->Field =~ /^MergedInto$/i;<br>
return 1;<br>
<br>
Any assistance in stopping this will be greatly appreciated.<br>
<br>
--<br>
Regards<br>
<br>
Aaron<br>
</div></div>_______________________________________________<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">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>
</blockquote></div><br>