[rt-users] Can a global scrip be disabled for a given queue?
Torsten Brumm
torsten.brumm at googlemail.com
Tue Apr 6 14:01:14 EDT 2010
Hi Thierry,
you can also try this out:
http://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips
Torsten
2010/3/26 Thierry Thelliez <thierry.thelliez.tech at gmail.com>
> 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
> >>
> >
> >
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
--
MFG
Torsten Brumm
http://www.brumm.me
http://www.elektrofeld.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100406/30319ab0/attachment.htm>
More information about the rt-users
mailing list