<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>That is exactly what I would like to have happen, but I am having a bit of a challenge finding the correct code snipits to accomplish this. I believe that I am pretty much looking at a big if/then statement. I am pretty much a novice at Perl but can figure things out if pushed in the right direction. <br><br>If I have a custom field called 'Location' and a user called 'Bob' with an e-mail of 'bob@bob.com', what is the beginning of a scrip that would test the Location and notify Bob if the Location matches, say, Oregon?<br><br>Do I need two scrips here? One to do the matching and set the owner, and another to do the notification?<br><br>Thanks for the help,<br><span><br><span name="x"></span>Kurt Engle<br><br><br></span><br><hr id="zwchr"><b>From: </b>"Kevin Falcone" <falcone@bestpractical.com><br><b>To: </b>rt-users@lists.bestpractical.com<br><b>Sent: </b>Thursday, December 2, 2010 7:03:03 AM<br><b>Subject: </b>Re: [rt-users] Notify based on CF<br><br>On Wed, Dec 01, 2010 at 04:04:59PM -0800, Kurt Engle wrote:<br>>    I am interested in setting up a notification tree based on a Custom Field value. Basically, I<br>>    have one Q that accepts tickets from multiple physical locations. I have a tech at each<br>>    location. I would like the tech at location X to be notified when a ticket comes in with the<br>>    Custom Field  Location=X . When the CF Location=Y, I want a different tech notified, etc...<br><br>I'd have a Scrip that set the Owner based on that CF and then have a<br>scrip that notifies Owners on owner change.<br><br>-kevin<br></div></body></html>