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
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@iastate.edu
Team Lead, NIADS (Network Infrastructure, Authentication & Directory Services)
IT Services, The Iowa State University of Science and Technology
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?)
ThierryOn Fri, Mar 26, 2010 at 3:48 PM, John Hascall john@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@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
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
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/
Torsten2010/3/26 Thierry Thelliez thierry.thelliez.tech@gmail.com
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
Hi Thierry,
you can also try this out:
Torsten2010/3/26 Thierry Thelliez thierry.thelliez.tech@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@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@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
This looks great!
For now I am using John’s suggestion, but I will give it a try later.
Thanks,
Thierry