I changed "Notify Owner" to "Notify AdminCCs", that seemed to fix it.<br><br>I'm noticing that the whole Approval thing is kind of clunky.<br><br>Another problem I encountered:<br>When a member of a group approves of a ticket, the owner is not changed, so the email looks like "Ticket approved by Nobody". <br>

<br>The whole Ruleset thing is kind of nice though, it makes it easy to code some extensions that involve scrip functionality without inserting scrips all over the place.<br><br clear="all">--<br>Mathieu Longtin<br>1-514-803-8977<br>


<br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 2:43 PM, Mathieu Longtin <span dir="ltr"><<a href="mailto:mathieu@closetwork.org">mathieu@closetwork.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

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><font color="#888888"><br clear="all">--<br>

Mathieu Longtin<br>1-514-803-8977<br>

</font></blockquote></div><br>