Thanks for the help.  I've sorted it out but switched things up a little:

if ($self->TransactionObj->OldValue == 1 && $self->TransactionObj->NewValue == 
15) {
  return undef;
}else{
  $self->TicketObj->SetStatus('new');
  return 1;
}

Keep up with me and what I'm up to: http://theillien.blogspot.com


Roy El-Hames wrote:
> Sorry Ignore earlier reply ..
> use global script and the if change it to:
> 
> if ($self->TransactionObj->OldValue != TriageQueue Id &&
> $self->TransactionObj->NewValue != TechOps id) {
> 
> Sorry earlier mail was sent without reading your reply properly
> Roy
> 

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
    Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to