Has anyone else had problems with any of the $task->GetXXXXX() calls in that they returns a NULL values.
I have a 20 step workflow and the second to last step is to audit every thing that has gone on.
To do this i find out all the information i can about the job and write that off to a SQL db. I then go on to the task side of things.
I do
$tasks = $Job->GetTasks();
foreach $task (
@$tasks){
my $eachTaskID = $task->GetId();
my $taskName = $task->GetName();
my $taskType = $task->GetType();
my $taskOwner = $task->GetOwner();
etc....
}
and write that information off to the database. The audit step also does one or two other things.
However when its going ronud the task loop occasionaly the GetName, GetType and a few others (but not GetId) come back empty. Looking into the wftask modules i notice that ID does not call refresh() but the others do. This in turn means that they all call iwgetwfobj. When it does find these NULL values it ultimatly leads to a crash of the teamsite server. When it does crash a Dr Watson runs and iwgetwfobj is listed as the last file to be executed.
I am not asking for a fix as support are looking into it, i was just wondering if anyone else had seen anything like this?
HazzieTS 5.5.2 on NT.