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;

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

Is the ticket owner supposed to be the approver?

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

-AshishlFrom: rt-users-bounces@lists.bestpractical.com [rt-users-bounces@lists.bestpractical.com] On Behalf Of Jim Tambling [Jim.Tambling@datatote.co.uk]
Sent: Thursday, March 05, 2009 6:13 PM
To: rt-users@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