or download this
if($templateName eq 'Deploy SELECTED WORKAREA FILES to DEV'){
$filelist = "$iwhome/tmp/filelist-${wfid}.txt";
my @files = $task->GetFiles();
...
}
close FILELIST;
&deployContent($sourcePath, $targetPath, $iwodclient_cfg,$workarea
+Name,$filelist);......