<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>Approvals Not Working</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Using RT 3.0.9</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Approval documentation is not clear on how to set this up. </FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#000000" SIZE=2 FACE="Arial">I have tried the examples from the Doc but they are not working.  Here is my log output…</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Apr  7 08:44:26 nagiosrt RT: Ticket creation failed for 11 Can't call method "Subject" on an undefined value at template line 1.  Stack:   [template:1]   [/opt/rt3/lib/RT/Action/CreateTickets.pm:353]   [/opt/rt3/lib/RT/ScripAction_Overlay.pm:207]   [/opt/rt3/lib/RT/Scrip_Overlay.pm:417]   [/opt/rt3/lib/RT/Scrip_Overlay.pm:352]   [/opt/rt3/lib/RT/Scrips_Overlay.pm:196]   [/opt/rt3/lib/RT/Transaction_Overlay.pm:118]   [/opt/rt3/lib/RT/Ticket_Overlay.pm:3801]   [/opt/rt3/lib/RT/Ticket_Overlay.pm:625]   [/opt/rt3/lib/RT/Interface/Web.pm:345]   [/opt/rt3/share/html/Ticket/Display.html:68]   [/opt/rt3/share/html/Ticket/Create.html:255]   [/opt/rt3/share/html/autohandler:195]  (/opt/rt3/lib/RT/Action/CreateTickets.pm:358)</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Here is my template…</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">===Create-Ticket: approval</FONT></SPAN></P>
<BR>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Subject: Configuration Change review for {$Tickets{?TOP?}->Subject}</FONT></SPAN></P>
<BR>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Depended-On-By: TOP</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Queue:  Approvals</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Type:  Approval</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Content: Someone has created a ticket. you should review and approve it, so they can finish their work</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Here is my scrip</FONT></SPAN><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">…</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Condition:</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#000000" SIZE=2 FACE="Arial">On Create</FONT></SPAN><SPAN LANG="en-us"> </SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Action:</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#000000" SIZE=2 FACE="Arial">Create Tickets</FONT></SPAN><SPAN LANG="en-us"> </SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Stage:</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#000000" SIZE=2 FACE="Arial">TransactionCreate</FONT></SPAN><SPAN LANG="en-us"> </SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-us"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Template:</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#000000" SIZE=2 FACE="Arial">Operations</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#000000" SIZE=2 FACE="Arial">Approval</FONT></SPAN></P>
<BR>

</BODY>
</HTML>