[rt-users] Scripting Custom conditions and actions
Stephen Turner
sturner at MIT.EDU
Fri Sep 16 11:34:12 EDT 2005
At Friday 9/16/2005 11:22 AM, Mahoney, Tim wrote:
>I've got the code written, but it's not working. The scrip is based on
> # get out unless subject is Pursuant
> return 1 unless $self->TicketObj->Subject = 'Pursuant';
>
If you need to match when the subject contains 'Pursuant', you need this:
return 1 unless $self->TicketObj->Subject =~ /Pursuant/;
Steve
More information about the rt-users
mailing list