Thanks, I also found this threat http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg08144.html so I changed my script to use $transaction->Subject(); then I also discovered by reading the log more closely it was the approval ticket that was being matched not the original. So I moved the scrip from the Global scrips to the main queue.
Now I just need to figure out why I'm not finding any other tickets with that incident number. But I'll do some Googling before I ask anymore dump questions. Thanks again, Jeremy On Wed, 2009-06-10 at 17:08 +0200, Emmanuel Lacour wrote: > On Wed, Jun 10, 2009 at 10:56:08AM -0400, Jeremy Winder wrote: > > my $transaction = $self->TransactionObj; > > add: > > return unless ( $transaction->Attachments->First ); > > here > > > my $subject = $transaction->Attachments->First->GetHeader('Subject'); > > if ($subject =~ /Incident \#(\d+) has/) { > > # This looks like a Altiris incident message > > $incident_number = $1; _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com