[rt-users] Little help with template

Potla, Ashish Bassaliel c_apotla at qualcomm.com
Thu Mar 5 09:17:27 EST 2009


Is the ticket owner supposed to be the approver?

In that case use {eva{$self->OwnerObj->Name}}

-Ashishl
________________________________________
From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Jim Tambling [Jim.Tambling at datatote.co.uk]
Sent: Thursday, March 05, 2009 6:13 PM
To: rt-users at bestpractical.com
Subject: [rt-users] Little help with template

Hi,

I should state I have no knowledge of Perl beforehand. I have a scrip that notifies the requestor when an approval ticket has been approved. This is the template;

Subject: Ticket Approved: {$Ticket->Subject}

Greetings,

Your ticket has been approved by { eval { $Approval->OwnerObj->Name } }.
Other approvals may be pending.


The requestor receives the email as shown below;


Greetings,

Your ticket has been approved by .
Other approvals may be pending.


Notice the distinct lack of the approver's name.


Thnaks



More information about the rt-users mailing list