[rt-users] Skipping Scrip #X because it didn't Prepare

Cena, Stephen (ext. 300) SJC at qvii.com
Fri Aug 12 13:50:38 EDT 2016


I have two RT systems: one testing and one production. I have a modified notification Scrip on my test box:
----------------------------------------
Description: On Correspond Reopen Rejected/Resolved Tickets
Condition: On Correspond
Action: User Defined
Template: Blank
Custom cond:
If ($self->TicketObj->Status eq 'rejected') { return 1; }
If ($self->TicketObj->Status eq 'resolved') { return 1; }
Return 0;

Custom action commit code:
$self->TicketObj->SetStatus("open");
----------------------------------------
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:

[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)

I've tried writing my own messages to the log but it doesn't look like the scrip is firing. What is happening?

Stephen Cena
Senior Systems Administrator
Quality Vision International, Inc.
Phone: (585) 544-0450 x300
To notify helpdesk: http://helpdesk.ogp.qvii.com or email: hd-general at qvii.com<mailto:hd-general at qvii.com>
To report email issues: postmaster at qvii.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160812/7bce40dc/attachment.html>


More information about the rt-users mailing list