I'm having some issues with a workflow that hasn't been changed. We recently refreshed our dev environment from Production so I assume we have some pointer off related to workflow. Issue is that the first step in my WFM is getting a new task id using the WFtask. The next statement checks to see if it isValid and for some reason it is not.Have any of you have any of these issues and how did you resolve?
my $cgi = new CGI;my $taskId = $cgi->param('task_id');# Print out value of $taskId heremy $donePage = $cgi->param('done_page');my $iw_user = $cgi->param('iw_user'); my $taskObj = new TeamSite::WFtask($taskId); if (!$taskObj->IsValid()) { showError('ERROR: Cannot initiate workflow', 'Invalid task ID', $donePage); exit(0); }