You need to have a global scrip that check for a queue change and if the previous queue was the queue that you want to track or react to exits.
Cheers, Ken On Mon, Sep 20, 2010 at 01:19:32PM -0400, David Moreau Simard wrote: > Hi, > > We're running RT 3.8.8 and we need to fire a scrip when a ticket is > transferred away from a queue (to any possible destination). > > The condition built into RT "On queue change" only seems to fire when a > ticket is transferred in but not when a ticket is transferred out. > > I've tried various possible workarounds in custom conditions and even > changing the stage of the transaction but to no avail. > > Does anyone have a clue as to what kind of condition I could use to trigger > my scrip when a ticket is transferred out ? > These possible conditions do not work: > > my $transaction = $self->TransactionObj; > return($transaction->Type = "Set" && $transaction->Field = "Queue" && > $transaction->OldValue eq "queuename"); > return($transaction->Type = "Set" && $transaction->Field = "Queue" && > $transaction->NewValue ne "queuename"); > > Thanks, > > - David > > RT Training in Washington DC, USA on Oct 25 & 26 2010 > Last one this year -- Learn how to get the most out of RT! > RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!