[rt-users] CustomCondition problem

Mario Gomide mario.gomide at agricultura.gov.br
Thu Oct 25 13:02:44 EDT 2007


Hello List!

I am trying to make a custom scrip work.
The scrip is supposed to:
Whenever a ticket is created in the X queue and the owner is set to 
"Nobody", the scrip action will Notify AdminCcs.
This is my Scrip Condition:
if( $self->TransactionObj->Type eq 'Create' &&
    $self->TicketObj->Owner eq '10' ) {
      return 1;
} else {
      return undef;
}

(As in http://wiki.bestpractical.com/view/OnCreateResolved)

But it is not working... I see the log, and the ScripCondition is true, 
but no e-mail being sent...

Any ideas?

Thanks a lot!

Mario Gomide



More information about the rt-users mailing list