Re: [rt-users] RT3.8.7 using custom fields to restrict sending a reply on resolve

2012-03-07 Thread Kenneth Crocker
Chris, you're welcome. The neat (and sometimes confusing for perl beginners like me) thing is that with perl you can construct several different styles/techniques of code that all do the same thing. Kenn On Mon, Mar 5, 2012 at 3:17 PM, Chris Herrmann wrote: > Thanks Ken, I have it working now.

Re: [rt-users] RT3.8.7 using custom fields to restrict sending a reply on resolve

2012-03-05 Thread Chris Herrmann
Thanks Ken, I have it working now. I also found http://wiki-archive.bestpractical.com/view/CustomConditionSnippets which was very helpful - it actually has a specific example for what I'm trying to do. I have a couple of questions too... but first the answer: Condition

Re: [rt-users] RT3.8.7 using custom fields to restrict sending a reply on resolve

2012-02-27 Thread Kenneth Crocker
Chris, Ever hear the term "Timing is everything"? I think your timing is off on this. Your code is triggered by the transaction that changes the status to "resolved". Therefore, "New Value" will not be "Y". In your situation, I think your Custom Field already has a value of "Y" or "N" and therefo

[rt-users] RT3.8.7 using custom fields to restrict sending a reply on resolve

2012-02-27 Thread Chris Herrmann
Hi, I'm trying to implement a system so that if a custom field is set to "Y", then the system will send an email (specified by a template) to the requestor. If the CF is "N" or blank then it will not send, and will simply resolve the ticket. I've borrowed from several other sources such as http://