I am trying to run FME workbench with input and output file destination and directory. This workbench is copying file from one directory and pasting in another directory.
I tried with different methods of IFMEStringArray but doesn't seem to work and I can't find documentation on the internet.
IFMESession createSession = COM.safe.fmeobjects.FMEObjects.createSession();
IFMEWorkspaceRunner createWorkspaceRunner = createSession.createWorkspaceRunner();
IFMEStringArray createStringArray = createSession.createStringArray();
createStringArray.append("C:\\\\test\\\\test.csv");
createStringArray.append("C:\\\\test2");
createWorkspaceRunner.runWithParameters("C:\\\\test\\\\Initialization_VIC_DataSet.fmw", createStringArray);
Above is my code. Can someone please help?