All,
Our workflow which were running for ages, suddenly started giving problems.
1) When the workflow tries to send email using external task it gets below error in the joberroros.log.
[Thu May 15 03:48:19 2008] Could not run /opt/teamsite/iw-home/custom/bin/wfnotify_new.ipl for task 1916529; retrying in 1 minute
[Thu May 15 03:48:20 2008] Could not run /opt/teamsite/iw-home/custom/bin/wfnotify_new.ipl for task 1916605; retrying in 1 minute
[Thu May 15 03:48:31 2008] Could not run /opt/teamsite/iw-home/custom/bin/wfnotify_new.ipl for task 1916474; retrying in 1 minute
[Thu May 15 03:48:35 2008] Could not run /opt/teamsite/iw-home/custom/bin/wfnotify_new.ipl for task 1916548; retrying in 1 minute
2) Further debugging of these perl scripts with -d it gets stuck at below line where we are parsing the password file based on the userid.
Usage: grep -hblcnsviw pattern file . . .
my $getline = `awk -F\: '{ print \$1"\\_/"\$5 }' /etc/passwd | grep $taskowner`;
my
@splitLine = split (/\\_\// , $getline);
my $toaddress = $splitLine[1];
3) When I checked the value of $taskowner it has null, similarily when I checked the value of any $taskxx, $wfxx variables they have null values.
My doubt is the when I instantiate new Task ($taskid), new wfobj($wfid) it must be pointing to null.
my $task = new TeamSite::WFtask($ARGV[1]);
my $workflow = new TeamSite::WFworkflow($ARGV[0]);
Please help