I am trying to connect some of the metatagger integration CLTs to TeamSite workflow tasks and am having trouble getting the environment right.....
To point out the problem I have removed the iwmtbatch.bat wrapper and coded the following statement in a perl program called by an external task.
mytask.ipl
---
my $javaprogram = "D:\\iw-home\\TeamSite\\tools\\java1.3\\bin\\java.exe -Djava.ext.dirs=D:\\iw-home\\TeamSite\\tools\\java1.3\\jre\\lib\\ext;D:\\iw-home\\TeamSite\\servletd\\common\\endorsed;D:\\iw-home\\TeamSite\\httpd\\webapps\\content_center\\WEB-INF\\lib -classpath

\\iw-home\\TeamSite\\lib\\iw_mdss_clts.jar com.interwoven.icm.clt.IWtaBatch -suggest -save \"Y:\\BHI\\main\\BHI-Tag\\WORKAREA\\General\\field_service\\reg_methods\\CRM-2003.pdf\" > d:\\iwmtbatch.out";
system($javaprogram);
---
end mytask.ipl
If I run mytask.ipl from the command line it works.... but when the external task invokes the perl shell using the system function it does nothing. I noticed that the iwmtbatch.bat program detected that the paths were not being set correctly so I hard coded the java command and gave it the attempt above. There is no console response....and no error reported.
Please help me understand why the perl system environment is different when kicking off from workflow.