$self->TicketObj->OwnerObj->Name eq 'Nobody'

On 10/25/07, Mario Gomide <[EMAIL PROTECTED]> wrote:
>
> 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
> _______________________________________________
> 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
>
_______________________________________________
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