<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17023" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page WordSection1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: export-only; mso-fareast-language: EN-US
}
DIV.WordSection1 {
        page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>Dear 
List,</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>i'm 
trying to create an approval Ticket (RT 3.6.5) with the following 
Template:</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>===Create-Ticket: INVEST<BR>Subject: Manager Approval for Investment: 
{$Tickets{"TOP"}->Id} - {$Tickets{"TOP"}->Subject}<BR>Depended-On-By: 
TOP<BR>Refers-To: {$Tickets{'TOP'}->Id()}<BR>Queue: ___APPROVAL<BR>Type: 
approval<BR>Requestor: {$Tickets{'TOP'}->RequestorAddresses()}<BR>AdminCC: 
{$Tickets{'TOP'}->AdminCc->MemberEmailAddresses()}<BR>Content-Type: 
text/plain<BR>Content: Your approval is requested for the ticket 
{$Tickets{"TOP"}->Id}: {$Tickets{"TOP"}->Subject}</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>{$Tickets{"TOP"}->Transactions->First->Content()}<BR>ENDOFCONTENT</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>Script 
for this:</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>OnOpen</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>CreateTickets</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>Template: Approval</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>So, 
when a ticket is going to open, create an approval ticket</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>This 
is working fine so far, but this Part:</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>AdminCC: 
{$Tickets{'TOP'}->AdminCc->MemberEmailAddresses()}</FONT><BR></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>wont 
work, the adminCC Field is empty.</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>Before 
the ticket is going to open, we add a group as admincc to the ticket, and this 
group members should later on also the approvers.</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>Below 
the logfile output:</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>[Fri 
Oct 15 10:26:58 2010] [debug]: Workflow: processing create-INVEST of 
RT::Ticket=HASH(0xa6d3980) (/opt/rt3/lib/RT/Action/CreateTickets.pm:588)<BR>[Fri 
Oct 15 10:26:58 2010] [debug]: Workflow: evaluating<BR>Subject: Manager Approval 
for Investment: {$Tickets{"TOP"}->Id} - 
{$Tickets{"TOP"}->Subject}<BR>Depended-On-By: TOP<BR>Refers-To: 
{$Tickets{'TOP'}->Id()}<BR>Queue: ___APPROVAL</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>Type: 
approval<BR>Requestor: {$Tickets{'TOP'}->RequestorAddresses()}<BR>AdminCC: 
{$Tickets{'TOP'}->AdminCc->MemberEmailAddresses()}<BR>Content-Type: 
text/plain<BR>Content: Your approval is requested for the ticket 
{$Tickets{"TOP"}->Id}: {$Tickets{"TOP"}->Subject}</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>{$Tickets{"TOP"}->Transactions->First->Content()}<BR>ENDOFCONTENT 
(/opt/rt3/lib/RT/Action/CreateTickets.pm:881)<BR>[Fri Oct 15 10:26:58 2010] 
[debug]: Workflow: yielding<BR>Subject: Manager Approval for Investment: 
44425100 - TEST 9 bitten ignorieren<BR>Depended-On-By: TOP<BR>Refers-To: 
44425100<BR>Queue: ___APPROVAL<BR>Type: approval<BR>Requestor: <A 
href="mailto:someuser@company.com">someuser@company.com</A><BR>AdminCC:<BR>Content-Type: 
text/plain<BR>Content: Your approval is requested for the ticket 44425100: TEST 
9 bitten ignorieren</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>Requested_by_Region: HQ - Head Quarter<BR>Requested_by_Name: Some 
Name<BR>Value: 123<BR>Remarks:</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>TEST</FONT></SPAN></DIV>
<DIV> </DIV><SPAN class=934043110-15102010>
<DIV><BR><FONT face=Arial color=#0000ff size=2>ENDOFCONTENT 
(/opt/rt3/lib/RT/Action/CreateTickets.pm:897)<BR></FONT></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff size=2>Any 
ideas? I'm confused at the moment :-(</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=934043110-15102010><FONT face=Arial color=#0000ff 
size=2><BR>Torsten</FONT></SPAN></DIV></SPAN><br>
<p class=MsoBodyText><span style='font-size:8.0pt;font-family:Arial'>Kühne +
Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner <span
class=SpellE>Heiken</span>, Bruno Mang, Alfred <span
class=SpellE>Manke</span>, Christian Marnetté, Mark Reinhardt, Jens <span
class=SpellE>Wollesen</span>, Klaus <span class=SpellE>Jäger (stellv.)</span>,
Sitz: Bremen, Registergericht: Bremen, HRA 21928, <span class=SpellE>USt-IdNr</span>.:
DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: <span
class=SpellE>Contern/Luxemburg</span>, Geschäftsführender Verwaltungsrat:
Klaus-Michael Kühne <o:p></o:p></span></p>

<br></BODY></HTML>