[rt-users] debugging a Create Ticket scrip

Jens Porup Jens.Porup at strategicdata.com.au
Wed Dec 14 01:23:05 EST 2005


On Wed, Dec 14, 2005 at 05:08:35PM +1100, Jens Porup wrote:
> My custom condition looks like this:
> 
> 	if (
> 		($self->TransactionObj->Type eq "CustomField") and
> 		(
> 			($self->TransactionObj->NewValue =~ /partial delivery/i)
> 		||
> 			($self->TransactionObj->NewValue =~ /received in full/i)
> 		)    
> 	)
> 	  return(1);
> 	}
> 	else
> 	{
> 	  return(undef);
> 	}

OK, I've fixed the syntax error in the above to if(...){return}else{...}
as it should be, but that makes no difference.

Jens



More information about the rt-users mailing list