Hi All,
In my workflow there is a problem I am reading the files attached to my workflow.
these are the snippets of my external script....
my $task = new TeamSite::WFtask($ARGV[1]);
my
@file_list = $task->GetFiles();
if ($task->IsValid()){
print LOG ("\n Its a Valid Task!! \n");
}
if (
@file_list){print LOG ("\n File Exists\n");
}
else{
print LOG ("\n File Does'nt exist \n");
}
My LOG says the task is valid but says File Does'nt exist
I checked the scalar output of
@file_list it says 0 means there shud be one file(the one i want).
But i am not able to print it...
Can anyone explain why it happens and how to correct it?
Thanks,
Mani