TeamSite 5.5.2 on Sun OS
I couldn't do anything but laugh about this. Here is a command I am trying to use in Perl on an object that can be either a "WFtask" or "WFworkflow" object:
if (! $obj->SetOwner($newOwner)) {
# Error handling
}
Here are the perldocs of the two methods. Note the return codes:
WFtask:
=head2 SetOwner($user)
We only support User name in ASCII encoding...
Modifies the owner of a task
Returns zero on error; non-zero on success.
=cut
WFworkflow:
=head2 SetOwner($user)
Change the owner of a job
Returns exit status of underlying CLT (non-zero indicates an error occured)
=cut
Believe it or not, their documentation is right.

I would prefer not to go into the TeamSite libraries and make changes. Any suggestions ?
Thanks.