[rt-users] How do I exclude a global scrip for specific queues

slamp slamp slackamp at gmail.com
Tue Jun 15 17:28:11 EDT 2010


I have a global scrip

Condition: User defined
Action: Notify All

I have this in my custom condition:

return (($self->TransactionObj->Type eq "Correspond") &&
($self->TicketObj->QueueObj->Name ne "Q1"));
return (($self->TransactionObj->Type eq "Correspond") &&
($self->TicketObj->QueueObj->Name ne "Q2"));
return (($self->TransactionObj->Type eq "Correspond") &&
($self->TicketObj->QueueObj->Name ne "Q3"));

Scrip is not executed when the queue is Q1, however it is executed
when the queue is either Q2 or Q3. I think I need to somehow combine
the logic but i am not much of a perl guy.

Any help is appreciated.



More information about the rt-users mailing list