Hello,<br><br>I set up a "Create Tickets" script, and the approval ticket is created, but no emails is ever sent to the approvers.<br><br>I tracked down in RT::Approval::Rule::NewPending, in commit, this code:<br>
<br> # first txn entry of the approval ticket<br> local $self->{TransactionObj} = $to;<br> $self->RunScripAction('Notify Owner', 'New Pending Approval', @_);<br><br> return;<br><br> # this generates more correct content of the message, but not sure<br>
# if ccmessageto is the right way to do this.<br> my $template = $self->GetTemplate('New Pending Approval',<br> TicketObj => $top,<br> TransactionObj => $to)<br>
or return;<br><br><br>Was the "return" in the middle left there by mistake? No email is ever sent since there is no owner, just a few AdminCC.<br><br>Thanks<br><br clear="all">--<br>Mathieu Longtin<br>1-514-803-8977<br>