Re: [rt-users] Can a global scrip be disabled for a given queue?
This looks great! For now I am using John's suggestion, but I will give it a try later. Thanks, Thierry Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Can a global scrip be disabled for a given queue?
Hi Thierry, you can also try this out: http://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips Torsten 2010/3/26 Thierry Thelliez > 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 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, j...@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 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Can a global scrip be disabled for a given queue?
Search for Dirk Papes QueueDeactivatedScrips. It is a nice addon (llittle outdated, but still working) that will save you a lot of work! http://page.mi.fu-berlin.de/dirkpape/rt3/HideGlobalScrips/ Torsten 2010/3/26 Thierry Thelliez > 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 > -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Can a global scrip be disabled for a given queue?
> John, > That's a great idea. > Could I just test the queue name? Yes. > 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?) $self->TicketObj->QueueObj->Name John Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Can a global scrip be disabled for a given queue?
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 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, j...@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
Re: [rt-users] Can a global scrip be disabled for a given queue?
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, j...@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
[rt-users] Can a global scrip be disabled for a given queue?
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