Kenn,

On Mon, 27 Oct 2008 15:35:40 -0400, Kenneth Crocker <[EMAIL PROTECTED]>  
wrote:
>
> Custom Action Prep Code:
>
> my $ticket = $self->TicketObj;
> return unless ($ticket->OwnerObj->Name() eq 'Nobody' );
>

You'll need to return 1 if you want to continue to action cleanup, 0  
otherwise.


> Custom Action Cleanup Code:
>
>       $ticket->SetOwner->Name('Persons User Name1', 'Force');

I think this should work:

$ticket->SetOwner ('Persons User Name1', 'Force');

Steve

-- 
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IS&T
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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