Hi,
Here is my system info:
Host OS: SunOS (5.8)
Version: 5.5.2 Build 14136 Interwoven 20021127
Can one dynamically add users (in a script) to a task using an external task.
I see stuff about AddUser($id) in forum, I tried that and is getting the following error:
ERROR:00920: Object being looked up was not found
Here is a snippet of my code:
my ($groupName, $userNames, $job, $taskid) =
@_ ;
my $target_task = new TeamSite::WFtask($taskID);
if ( $groupName ne ""){
for my $task_user (split /[\s,]/, $userNames){
debug("Adding User....$task_user to task $target_task\n");
$target_task->AddUser($task_user);
debug("Adding User....$task_user to task $target_task\n");
I'm getting the error on this line
$target_task->AddUser($task_user);
Can anyone out there help me!!
Thanks in advance,
Annie