Hey Kevin/All. I've been trying with;
return 0 unless $self->TransactionObj->Type eq "Set"; return 0 unless $self->TransactionObj->Field eq "Queue"; return 0 unless $self->TransactionObj->OldValue eq 'QueueName'; but not having much luck. Anyone able to advise further? Thanks, Nick -- Nick Fennell ApplianSys Support Team Leader ApplianSys Limited University of Warwick Science Park Business Innovation Centre Harry Weston Road Coventry CV3 2TX t: +44 (0) 870 7707 789 s: nick-fennell www.appliansys.com Our sales team sells by referral: Less time looking for customers, more time looking after them Subscribe: http://eepurl.com/ibKtY On 7 Jan 2013, at 22:53, Kevin Falcone <[email protected]> wrote: > On Mon, Jan 07, 2013 at 04:40:39PM +0000, Nick Fennell wrote: >> I had considered that although, we're sometimes required to move tickets >> from Queue: Support to queue: RMA and vice-versa. >> Having 'On queue change' would result in auto-replies being sent whenever >> tickets are moved into the Support queue. >> Is there a Custom Condition I can apply so that the scrip is only effective >> when source queue = Triage? > > You need to make a User Defined condition that includes the 1 line of > code from QueueChange.pm along with a simple check that OldValue was > the old Queue's id. > > -kevin
