Below is the code I have in a scrip for RT approvals when the approval is resolved by the approver.  For some reason the reply appears 2 times though and I don't see how that can be in this code.  So if I write a note saying that "this person is allowed..."  It comes up as "this person is allowed" "this person is allowed"  Any hints would be helpful.  Thanks. 
<br><br><br><br><br># ------------------------------------------------------------------- #<br>return(0) unless ($self->TicketObj->Type eq 'approval');<br><br>my $note;<br>my $t = $self->TicketObj->Transactions; 
<br>while (my $o = $t->Next) {<br>$note .= $o->Content . "\n" if $o->ContentObj<br>and $o->Content !~ /Default Approval/;<br>}<br><br>foreach my $obj ($self->TicketObj->AllDependedOnBy( Type => 'ticket' )) { 
<br>$obj->Comment(<br>Content => $self->loc( "Your request has been approved by [_1]. Other approvals may still be pending.", # loc<br>$self->TransactionObj->CreatorObj->Name,<br>) . "\n" . $self->loc( "Approver's notes: [_1]", # loc 
<br>$note<br>),<br>);<br>$T::Approval = $self->TicketObj; # so we can access it inside templates<br>$self->{TicketObj} = $obj; # we want the original id in the token line<br>}<br><br># Now magically turn myself into a Requestor Notify object... 
<br>require RT::Action::Notify; bless($self, 'RT::Action::Notify');<br>$self->{Argument} = 'Requestor'; $self->Prepare;<br><br>return 1;<br># ------------------------------------------------------------------- #<br>
<br><br>Thanks again.<br><br>Mike<br>