On Wed, Dec 16, 2015 at 5:52 AM, Tony Arnold <[email protected]> wrote: > I'm writing a scrip (using the web interface) where I want to test who > has sent a ticket and automatically reject it. (These are automatic > response tickets from another ticketing system, viz., LANdesk. The > tickets in question are merely acknowledgement of receipt and contain no > useful information what so ever!) > > I think I know how to do this but I also want to stop another scrip from > notifying the watchers on the queue. Is this possible? > > I'm on an old version of RT (3.8.14) so maybe this is easier to do in > later versions. > > Any advice?
I think you'd need to bolt the custom reject logic onto each scrip that fires for "On Create" and also create the scrip you reference above. For each create scrip you'll need something like the following in your custom condition: ($self->TransactionObj->Type || '') eq 'Create') && (! $IS_SENDER_BLACKLISTED) -m
