In my organization we have an L1 queue for level one support. All
requests are dumped here first. If the level one support team cannot
complete the request, the request is moved to one of several L2 support
queues.
When a request is moved from the L1 queue to any of the L2 queues, I
would like for an email to be sent to requestors telling them their
request has be escalated.
After a little research I found out that On Queue Change scrips only
run on the queue the request is being moved to and not the queue the
request is being moved from, which ruled out creating a queue scrip. So
I created the following global scrip:
Description: Notify requestor on L2 escalation
Condition: User Defined
Action: Notify Requestors
Template: Global template: L2 Escalation
Stage: TransactionCreate
Custom condition:
if ($self-TransactionObj-Type eq Set
$self-TransactionObj-Field eq Queue
$self-TransactionObj-OldValue eq 8)
{return 1;}
else
{return 0;}
Notice that I also created a global template for this scrip to use,
which looks something like:
Name: L2 Escalation
Description: Email sent to requestors when their issue is escalated to
L2 support
Content: Your help request has been escalated to the Level 2 support team.
Problem is that no email is sent out when this newly-created template is
selected. However, if in the scrip I change the Template to some
pre-existing template, the global Resolved template for example, then
the email does get sent.
Anyone know what could be going on here? Is there a better way?
BTW, we are using version 3.6.1.
Gary
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com