[rt-users] A little Scrip help

Potla, Ashish Bassaliel c_apotla at qualcomm.com
Thu Feb 26 07:32:23 EST 2009


________________________________________
From: Potla, Ashish Bassaliel
Sent: Thursday, February 26, 2009 5:59 PM
To: Aaron Guise
Subject: RE: [rt-users] A little Scrip help

Is the scrip set to 'Transaction Batch' or 'Transaction Create'?
Set it to Transaction Batch.

-Ashish
________________________________________
From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Aaron Guise [aaron at guise.net.nz]
Sent: Thursday, February 26, 2009 4:02 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] A little Scrip help

Hi,

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.

The scrip used is noted below;

my $txn = $self->TransactionObj;
return undef unless $txn->Type =~ /^AddLink$/i;
return undef unless $txn->Field =~ /^MergedInto$/i;
return 1;

Any assistance in stopping this will be greatly appreciated.

--
Regards

Aaron



More information about the rt-users mailing list