[rt-users] Can a global scrip be disabled for a given queue?

Thierry Thelliez thierry.thelliez.tech at gmail.com
Fri Mar 26 18:03:24 EDT 2010


John,

That's a great idea.

Could I just test the queue name?

I am no that familiar with Perl/RT but could it be something like:

return ($self->TicketObj->QueueObj->Id ne "MySpecialQueue");

(How do you access the queue name?)


Thierry

On Fri, Mar 26, 2010 at 3:48 PM, John Hascall <john at iastate.edu> wrote:
>
> When I wanted to do a similar thing,
> I found it easier to modify the global scrip (Custom Condition)
> to recognize a special address in that field for the queue:
>
> return (($self->TransactionObj->Type eq "Correspond") &&
>        ($self->TicketObj->QueueObj->CorrespondAddress() ne "NONE"));
>
>
> John
>
> -------------------------------------------------------------------------------
> John Hascall, john at iastate.edu
> Team Lead, NIADS (Network Infrastructure, Authentication & Directory Services)
> IT Services, The Iowa State University of Science and Technology
>
>> Hello,
>>
>> I have the requirements to not send notifications 'on correspond' to
>> the requestors for a given queue (that's scrip #6). But I wish to keep
>> it for other queues.
>>
>> Do I need to disable it (scrip fields > Stage >Disabled) and then
>> recreate it locally for all the other queues?
>>
>>
>>
>> Thanks,
>> Thierry
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>
>



More information about the rt-users mailing list