<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hello,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I’m looking for help with “Mute notify requestor on resolve". I pieced something together from previous threads but I’m missing the last piece of the puzzle.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I have implemented this through a custom field and custom scrip and it is working. I’m also using the “edit custom field on reply/comment” extension. Works perfect if I change “Notify requestor on resolve?” to “No”, click update, then resolve; no email gets sent. HOWEVER I’d like to do this in one fell swoop, so..</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Here is the issue: if I try to set the custom field “Notify requestor on resolve?” to “No” and change the status to “Resolved” at the same time, the resulting ticket history shows in this order: </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">1. Ticket changed to resolved. </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">2. Outgoing email recorded. </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">3. Notify requestor on resolve? changed to “No”.</div><div><br></div><div>Custom condition for Notify requestor on resolve scrip:</div><div><div>my $txn = $self->TransactionObj;</div><div>my $type = $txn->Type;</div><div>return 0 unless $type eq "Status"</div><div> || ( $type eq 'Set' && $txn->Field eq 'Status');</div><div>return 0 unless $txn->NewValue eq "resolved";</div><div>return 0 if $self->TicketObj->FirstCustomFieldValue("Notify requestor on resolve?") eq "No";</div><div>return 1;</div></div><div><br></div><div>Any tips will be greatly appreciated. Thanks!</div><br><div id="bloop_sign_1427302451046294016" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Roman Massey<br></div></div></body></html>