<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>I have two RT systems: one testing and one production. I have a modified notification Scrip on my test box:</div>
<div>----------------------------------------</div>
<div>Description: On Correspond Reopen Rejected/Resolved Tickets</div>
<div>Condition: On Correspond</div>
<div>Action: User Defined</div>
<div>Template: Blank</div>
<div>Custom cond:</div>
<div>If ($self->TicketObj->Status eq ‘rejected’) { return 1; }</div>
<div>If ($self->TicketObj->Status eq ‘resolved’) { return 1; }</div>
<div>Return 0;</div>
<div> </div>
<div>Custom action commit code:</div>
<div>$self->TicketObj->SetStatus(“open”);</div>
<div>----------------------------------------</div>
<div>On my test system it works perfectly. Any tickets resolved or rejected get re-opened on correspond. On my production box, I get the following in ym log:</div>
<div> </div>
<div>[13641] [Fri Aug 12 17:43:44 2016] [debug]: Skipping Scrip #32 because it didn't Prepare (/opt/rt4/sbin/../lib/RT/Scrips.pm:345)</div>
<div> </div>
<div>I’ve tried writing my own messages to the log but it doesn’t look like the scrip is firing. What is happening?</div>
<div> </div>
<div><font size="4"><span style="font-size:14pt;"><b>Stephen Cena</b></span></font></div>
<div>Senior Systems Administrator </div>
<div>Quality Vision International, Inc.</div>
<div>Phone: (585) 544-0450 x300</div>
<div>To notify helpdesk: <a href="http://helpdesk.ogp.qvii.com">http://helpdesk.ogp.qvii.com</a> or email: <a href="mailto:hd-general@qvii.com"><u>hd-general@qvii.com</u></a></div>
<div>To report email issues: postmaster@qvii.com</div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>