Template/Scrip Setup

So what I’m looking to do is send an on-call rep a text message(via email address) when a
certain type of ticket is created in the queue. That part of the
system is currently functional. However, it currently only sends the
subject to the on-call rep and this isn’t enough information. The
desired behavior is to get the users create message(at least the first
150 chars or so) attached to the message also.

The current template is:

{$Ticket->Subject}

So getting to what I want requires using the Transaction object I’m pretty sure.

I was thinking along the lines of adding something like this:

{substr($Transaction->Message, 0,160}

Anyone else done this before? Also does inline perl work in templates? Any help/feedback would be appreciated, thanks!

~Chris

Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290