[rt-users] Problem with Approval Creation

Brumm, Torsten / Kuehne + Nagel / Ham MI-ID torsten.brumm at Kuehne-Nagel.com
Fri Oct 15 06:38:00 EDT 2010


Dear List,
i'm trying to create an approval Ticket (RT 3.6.5) with the following Template:
 
===Create-Ticket: INVEST
Subject: Manager Approval for Investment: {$Tickets{"TOP"}->Id} - {$Tickets{"TOP"}->Subject}
Depended-On-By: TOP
Refers-To: {$Tickets{'TOP'}->Id()}
Queue: ___APPROVAL
Type: approval
Requestor: {$Tickets{'TOP'}->RequestorAddresses()}
AdminCC: {$Tickets{'TOP'}->AdminCc->MemberEmailAddresses()}
Content-Type: text/plain
Content: Your approval is requested for the ticket {$Tickets{"TOP"}->Id}: {$Tickets{"TOP"}->Subject}
 
{$Tickets{"TOP"}->Transactions->First->Content()}
ENDOFCONTENT
 
Script for this:
 
OnOpen
CreateTickets
Template: Approval
 
So, when a ticket is going to open, create an approval ticket
 
This is working fine so far, but this Part:
 
AdminCC: {$Tickets{'TOP'}->AdminCc->MemberEmailAddresses()}

wont work, the adminCC Field is empty.
 
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.
 
Below the logfile output:
 
[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)
[Fri Oct 15 10:26:58 2010] [debug]: Workflow: evaluating
Subject: Manager Approval for Investment: {$Tickets{"TOP"}->Id} - {$Tickets{"TOP"}->Subject}
Depended-On-By: TOP
Refers-To: {$Tickets{'TOP'}->Id()}
Queue: ___APPROVAL
Type: approval
Requestor: {$Tickets{'TOP'}->RequestorAddresses()}
AdminCC: {$Tickets{'TOP'}->AdminCc->MemberEmailAddresses()}
Content-Type: text/plain
Content: Your approval is requested for the ticket {$Tickets{"TOP"}->Id}: {$Tickets{"TOP"}->Subject}
 
{$Tickets{"TOP"}->Transactions->First->Content()}
ENDOFCONTENT (/opt/rt3/lib/RT/Action/CreateTickets.pm:881)
[Fri Oct 15 10:26:58 2010] [debug]: Workflow: yielding
Subject: Manager Approval for Investment: 44425100 - TEST 9 bitten ignorieren
Depended-On-By: TOP
Refers-To: 44425100
Queue: ___APPROVAL
Type: approval
Requestor: someuser at company.com
AdminCC:
Content-Type: text/plain
Content: Your approval is requested for the ticket 44425100: TEST 9 bitten ignorieren
 
Requested_by_Region: HQ - Head Quarter
Requested_by_Name: Some Name
Value: 123
Remarks:
 
TEST
 

ENDOFCONTENT (/opt/rt3/lib/RT/Action/CreateTickets.pm:897)

Any ideas? I'm confused at the moment :-(
 
Thanks

Torsten

Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnetté, Mark Reinhardt, Jens Wollesen, Klaus Jaeger (stellv.), Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101015/939a8c10/attachment.htm>


More information about the rt-users mailing list