Hi All.
For last 2 days i have been searching in the dev net as well as support site but was able to get the following code :
use TeamSite::XMLnode;
use TeamSite::Config;
use TeamSite::WFtask;
use TeamSite::WFworkflow;
use XML:

arser;
my ($jobid, $taskid, $area ) = (shift, shift, shift);
my $task = new TeamSite::WFtask($taskid);
my $taskname=$task->GetName();
my ($user, $wfname, $jobids, $tname) = (
@ARGV[1,4,5,6]);
$task->SetOwner($user);
$task->Refresh();
$task->CallBack(0, "Unlocked files.");
***********************************************
I have also executed the command to register the same to iwat using the below command :
iwat TaskGroupTaken C:/Interwoven/TeamSite/iw-perl/bin/iwperl C:/Interwoven/TeamSite/local/bin/iwat_grouptask.ipl
But when i am trying to run the workflow i am not sure of its really working or even accessing the ipl file.
I tried checking the iwtrace and iwevent logs to see if some thing is happening .how can i check if its calling the ipl or not. i have tried making a log file too but no luck its just not get created
requirement:
when an initiater runs a workflow he is able to manipulate the workflow at any stage, we dont want this to happen.....
1)we want to change the owner to some one else other than the initiater who has started the workflow.
2) Is using the iwat is the only way to solve this issue ? can you please check if the code is ok or am i doing something wrong?
3)has any one faced this issue and solved it ?
we are using 7.1 windows version with windows 2003