[rt-users] Custom Conditions
Matthew Cheale
say_ten at multiplay.co.uk
Fri Mar 5 08:22:51 EST 2004
The trouble being that without a definitive list of objects and their
methods it makes it tricky to use...
Andy Harrison wrote:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> On Fri, 5 Mar 2004 09:44:42 -0000, Dermot Williams wrote
> Subject: "[rt-users] Custom Conditions"
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>> Hi,
>>
>> Can anyone tell me what the custom condition box in Scrips is for? Can I
>> type Perl scripts directly into to it to, for example, dump mail into
>> particular queues depending on the subject line?
>>
>> Any help would be much appreciated, as always.
>
>
> For conditions that aren't available in the Condition selection menu.
>
> Use perl, just make it return true or false.
>
> For example:
>
> undef unless ($self->TicketObj->Subject =~ m/foo/ or $self->TicketObj->Subject =~ m/bar/ );
>
> But the queue has an e-mail address, so doing a queue change is
> probably complicating something that doesn't need to be complicated.
>
--
With regards,
Say_Ten
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.
More information about the rt-users
mailing list