[rt-users] RE: custom field condition

Bill Chever wchever at terracottatech.com
Mon Jun 12 23:01:26 EDT 2006


Todd,

Cool!, and gotcha.  Thanks for the quick reply, Dude. (you know, I'm working
in California.)

-Bill

-----Original Message-----
From: Todd Chapman [mailto:todd at chaka.net] 
Sent: Monday, June 12, 2006 8:01 PM
To: Bill Chever
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] RE: custom field condition

Bill,

You should also use "return;" instead of "return (undef);"
because the later will evaluate to true if the scrip condition were to be
called in a list context. See Perl Best Practices for more info.

-Todd

On Mon, Jun 12, 2006 at 03:57:45PM -0700, Bill Chever wrote:
> Found it! I was using On Create and should have been using User 
> Defined so the system would actually use the scrip. Doh!  Thanks 
> anyway! Bill _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com Commercial support: 
> sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
> 
> We're hiring! Come hack Perl for Best Practical: 
> http://bestpractical.com/about/jobs.html




More information about the rt-users mailing list