I have problem with using postProcess command in wfm in windows.
The command I used in the model workflow propertie is:
[php]
E:/iw-home/iw-perl/bin/iwperl.exe E:/iw-home/local/production/wfm/postprocess.ipl
[/php]
I am getting following error massage:
com.interwoven.modeler.common.exceptions.ModelerException: Workflow Command [Pre/Post] did not return correct value. Correct the error.
My postprocess.ipl file is very simple. I wrote couple of lines for the testing purpose but It is giving me error message. The problem is on the return value.
[php]
=====================================
#postprocess.ipl
# Declare which external packages and library routines will be used.
use TeamSite::WFtask;
use TeamSite::WFworkflow;
use TeamSite::Config;
my ($wfid, $taskid, $workarea) =
@ARGV;
my $job = new TeamSite::WFworkflow($wfid);
my $atask = new TeamSite::WFtask($taskid);
$atask->CallBack(0, 'ok');
=====================================
[/php]
Env:
Interwoven TeamSite 6.7.1 Service Pack 1
Please help me out.
Thanks,