[forwarding to list]
Stephen,
I thought that "return unless" defaulted to "return 1 unless", but I
changed it anyway.
I tried your "set" code and that didn't work. Any other ideas?
Kenn
LBNL
On 10/27/2008 12:44 PM, Stephen Turner wrote:
> 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
>
_______________________________________________
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