Hello,
[TeamSite 4.5.1 on Solaris]
i tried to start a new job out of a perl-script (external task of another workflow) and it works fine (not via clt). The only thing not working is attaching files at starting time. I used the following code:
--------------------------------------------------
TeamSite::WFtemplate->new(
template => $template_file,
template_name => $iw_template_name,
user => $iw_user,
role => $user_role,
vpath => $vpath,
file => [],
debug => 0);
# i got a filelist from the actual task via
my (
@files) = $task->GetFiles();
foreach $file (
@files) {
$wft->{file}[$i]="$file";
$i++;
}
---------------------------------------
After invoking the new workflow, no files are attached. Anybody knows, what i can do? I think, a special structured array is used for this, but i don't know the structure.
Thanks,
Steve