<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><span>I have </span><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">RT::Extension::ExtractCustomFieldValues installed and working. I do not have a problem populating the CF of a ticket. What I do need is a way to test that value and then notify an e-mail address based on the CF value. <br><br>Basically, I need some help with Perl to accomplish this...<br></span><span id="25a9f5c4-a87c-4a75-a8ed-ecc5a8623111"><br><span name="x"></span>Kurt Engle<br><span name="x"></span><br></span><br><hr id="zwchr"><b>From: </b>"Josh Narins" <jnarins@seniorbridge.com><br><b>To: </b>"Kurt Engle" <engle@4j.lane.edu>, "rt-users" <rt-users@lists.bestpractical.com><br><b>Sent: </b>Thursday, December 2, 2010 6:26:56 AM<br><b>Subject: </b>RE: [rt-users] Notify based on CF<br><br><link href="/zimbra/css/msgview.css?v=100616203742" rel="stylesheet">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Do you want a partial solution, to get started?</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">I installed RT::Extension::ExtractCustomFieldValues and I think
your first step would be to add a Scrip for "On Create" with action
"Extract Custom Field Values" but exactly what you'd need to do then
eludes me. Something like "Create a template where the To: line is based
on the value in the Custom Field"</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">But I'm still pretty new at all this RT stuff.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<br><br><font face="Verdana" size="2"><strong>Josh Narins</strong></font><br><br><font face="Verdana" size="1">Director of Application Development<br>SeniorBridge<br>845 Third Ave<br>
7th Floor<br>New York, NY 10022 <br>
Tel: (212) 994-6194 <br>
Fax: (212) 994-4260 <br>
Mobile:
(917) 488-6248<br>jnarins@seniorbridge.com<br><a href="http://www.seniorbridge.com/" target="_blank">seniorbridge.com</a></font><br><br><img src="http://www.seniorbridge.com/images/seniorbridgedisclaimerTAG.gif" alt="SeniorBridge" dfsrc="http://www.seniorbridge.com/images/seniorbridgedisclaimerTAG.gif" align="baseline" border="0" hspace="0"><br><br>
<hr style="height: 1px;">
<font face="Verdana" size="1"><strong>SeniorBridge Statement of
Confidentiality:</strong> The contents of this email message are intended for
the exclusive use of the addressee(s) and may contain confidential or privileged
information. Any dissemination, distribution or copying of this email by an
unintended or mistaken recipient is strictly prohibited. In said event, kindly
reply to the sender and destroy all entries of this message and any attachments
from your system. Thank you.</font><div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0in 0in 0in 4pt;">
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">
rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] <b>On Behalf Of </b>Kurt
Engle<br>
<b>Sent:</b> Wednesday, December 01, 2010 7:05 PM<br>
<b>To:</b> rt-users<br>
<b>Subject:</b> [rt-users] Notify based on CF</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="color: black;">I am
interested in setting up a notification tree based on a Custom Field value.
Basically, I have one Q that accepts tickets from multiple physical locations.
I have a tech at each location. I would like the tech at location X to be
notified when a ticket comes in with the Custom Field Location=X . When
the CF Location=Y, I want a different tech notified, etc... <br>
<br>
Thanks for any help..<br>
<br>
Kurt Engle</span></p>
</div>
</div>
</div>
</div></body></html>