That looks to me that you're going to execute that approval script for every transaction that occurs in the ticket.
Test for lc($self->TransactionObj->Type) eq "create" to only fire the event when the ticket is created. > Condition: User Defined > my $ticket= $self->TicketObj; > if ( $ticket->FirstCustomFieldValue('ticketType') =~ /change request/i ) { > return 1; > } else { > return 0; > } > > Custom action preparation code: > return 1; > > Custom action cleanup code: > return 1; > > I create a ticket of type 'change request' and recieve 5 identical approvals > for the originating ticket. Anyone have any bright suggestions as to why...? -- Jon Baker Information Technology Willie George Ministries 1003 N 129th E Ave Tulsa OK 74116 (918) 234-5656 _______________________________________________ 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