Override global scrip with queue scrip

-----BEGIN PGP SIGNED MESSAGE-----

Is there any way to have a scrip for a queue override the global scrip? I’m
trying to make rt modify the subject in a particular queue On Create, but there
is a global On Create that is taking over.

Andy Harrison
Great Works Internet
System Operations
(full headers for details)

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBP5AQc1PEkLgodAWVAQHEwwP/YsTawlRCeHpesDW2Ts3hzVvYe/MWMT3X
rrxogaY7OWHT4Ori/RGgO88cfKlywhbUpi9DnMGvUFF2bSICnP9JeBi9khKXspqp
JSTjTn1vOFuPxipkmXBQO55r/LUT+hCxhqBW96InAfUt5cUkmSBH4LTBFMImgxjt
mhPin5T3UBw=
=BUqS
-----END PGP SIGNATURE-----

Andy Harrison wrote:

Is there any way to have a scrip for a queue override the global scrip? I’m
trying to make rt modify the subject in a particular queue On Create, but there
is a global On Create that is taking over.

There isn’t, although I seem to recall someone making noise
about patches to do just this somewhere along the way. Check
the list archives.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

At Sat, 18 Oct 2003 10:48:30 +1000,
Phil Homewood wrote:

Andy Harrison wrote:

Is there any way to have a scrip for a queue override the global scrip? I’m
trying to make rt modify the subject in a particular queue On Create, but there
is a global On Create that is taking over.

There isn’t, although I seem to recall someone making noise
about patches to do just this somewhere along the way. Check
the list archives.

In RT3 you can write a custom condition for the global On Create.
Check that the transaction type is “Create” (i think…) and the queue
is not the particular one.

-R

Hello,

–Am Freitag, 17. Oktober 2003 11:53 Uhr -0400 schrieb Andy Harrison
ah3@mlz.us:

Is there any way to have a scrip for a queue override the global scrip?
I’m trying to make rt modify the subject in a particular queue On Create,
but there is a global On Create that is taking over.

I have patched our local system successfully to support global and per
queue deactivation/activation of scrips.

I will try to pack this into a contribution soon and give it to the
interested public.

It is not a light patch but it needs a new table in the database. This
was necessary to make it that flexible I wanted it.

Regards,
Dirk.

Hello,

–Am Samstag, 18. Oktober 2003 13:34 Uhr +0200 schrieb Dirk Pape
pape-rt@inf.fu-berlin.de:

I have patched our local system successfully to support global and per
queue deactivation/activation of scrips.

I will try to pack this into a contribution soon and give it to the
interested public.

It is not a light patch but it needs a new table in the database. This
was necessary to make it that flexible I wanted it.

here is my RT-change to support global and per-queue deactivation of
scrips. The software is not so well tested but seems to be robust.

See the README included in the archive for intended use and installation.

I could not test the complete install process since our system is already
modified by this extension, so I declare this thing to be alpha quality
until I have positive feedback.

HENCE: Use at your own risk and if you do so, please report errors and
critics to me.

FOR JESSE: as allways for me - do as you want with this code. You may file
this as a contribution or modify it as you want and built it into core RT.
I would prefer latter, since then I need not support this code any more :slight_smile:

Dirk.
Dr. Dirk Pape (Leiter des Rechnerbetriebs und IT-Verantwortlicher)
Fachbereich Mathematik und Informatik der FU Berlin
Takustr. 9, 14195 Berlin
Tel. +49 (30) 838 75143, Fax. +49 (30) 838 75190

HideQueues-1.0a1.tgz (6.17 KB)