[rt-users] blocking mail if custom field defined

G.Booth G.Booth at lboro.ac.uk
Wed Nov 3 10:17:23 EDT 2010


On Wed, 3 Nov 2010 13:33:47 +0100
  Emmanuel Lacour <elacour at easter-eggs.com> wrote:
> On Wed, Nov 03, 2010 at 12:03:36PM +0000, G.Booth wrote:
>> Hi All
>> 
>> 
>> if ($self->TransactionObj->Type eq "Create")
>> {
>>   if (defined 
>>$self->TicketObj->CustomFieldValues('Quick')->Next)
> 
> if ( $self->TicketObj->FirstCustomFieldValue('Quick') )
> 
> should works
> 

Hi Emmanuel,

Thanks for this. Oddly it works perfectly for me, but if you create the case 
and you're a watcher of the queue into which the case goes it still sends 
the autoreply.

Dont suppose you've any thoughts?


regards
garry

--

Dr Garry Booth
IT Services
Loughborough University



More information about the rt-users mailing list