Sending email notification of custom field values

Hi:

I’m trying to create a template to send an email notification with a ticket’s corresponding customfield values but I’m running into some difficulties. Here’s my main code:

{
my $transactions = $Ticket->Transactions;
$transactions->Limit( FIELD => ‘Type’, VALUE => ‘CustomField’ );

while (my $transaction = $transactions->Next)
{
my $fieldvalue = $transaction->ObjectCustomFieldValues->Content;
$transaction->CustomFields->Name: $fieldvalue;

}

Can someone please help me? Thks.

Iris

Hi,

Brookes, Iris wrote:

Hi:

I’m trying to create a template to send an email notification with a ticket’s corresponding customfield values but I’m running into some difficulties.

There’s some code for that in the wiki. Check out
http://wiki.bestpractical.com/index.cgi?AddCustomFieldsValuesToMail
I haven’t tested it myself, though.

Rolf