[rt-users] Scrip condition input request

Mathew Snyder theillien at yahoo.com
Tue Dec 4 11:20:21 EST 2007


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
> 




More information about the rt-users mailing list