User defined action?

Can anyone provide an example for a user defined action? I want to
send the NewTicket template to a particular non-privileged user
whenever a new ticket is created.

Thanks,
Phil

At Tuesday 7/19/2005 01:57 PM, Phil Lawrence wrote:

Can anyone provide an example for a user defined action? I want to
send the NewTicket template to a particular non-privileged user
whenever a new ticket is created.

Thanks,
Phil

There may be a more elegant way, but I’ve done this by just hard-coding the
email address in the template as a CC.

Also, there are user-defined action examples in the contributions section
of the wiki.

Steve

I am trying to create a lot of custom Templates and have tired my best
to to look at the default Templates as examples. Is there a list or any
method in which I could use to find out what the variable names I can
use are? Such as {$Transaction->Description}, {$Ticket->QueueObj->Name},
and things of this nature?

All thought the list would be a big help, at this point what I am trying
to achieve is to make a custom Template that will tell me when a new
ticket is created (which that part I have working) but only include the
first line of the {$Transaction->Content()} as the subject.

Any help in any of this would be greatly appreciated. Thank you all for
your time.

-Michael Herz

At Tuesday 7/19/2005 01:57 PM, Phil Lawrence wrote:

Can anyone provide an example for a user defined action? I want to
send the NewTicket template to a particular non-privileged user
whenever a new ticket is created.

There may be a more elegant way, but I’ve done this by just
hard-coding the email address in the template as a CC.

I see the global NewTicket template starts with:

Would I then just make a Queue specific version and type this beneath
it?
CC: foo@bar.com

Thanks,
Phil

At Tuesday 7/19/2005 02:24 PM, Phil Lawrence wrote:
I see the global NewTicket template starts with:

Subject: NewTicket: {$Ticket->Subject}

Would I then just make a Queue specific version and type this beneath
it?
CC: foo@bar.com

Thanks,
Phil

Yes, that should do it. (Make sure there’s still a blank line before the
message body starts).

Steve