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. 

If I have a custom field called 'Location' and a user called 'Bob' with an 
e-mail of 'b...@bob.com', what is the beginning of a scrip that would test the 
Location and notify Bob if the Location matches, say, Oregon? 

Do I need two scrips here? One to do the matching and set the owner, and 
another to do the notification? 

Thanks for the help, 

Kurt Engle 




From: "Kevin Falcone" <falc...@bestpractical.com> 
To: rt-users@lists.bestpractical.com 
Sent: Thursday, December 2, 2010 7:03:03 AM 
Subject: Re: [rt-users] Notify based on CF 

On Wed, Dec 01, 2010 at 04:04:59PM -0800, Kurt Engle wrote: 
> 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... 

I'd have a Scrip that set the Owner based on that CF and then have a 
scrip that notifies Owners on owner change. 

-kevin 

Reply via email to