(The FlatFile Polling documentation is sparse, so…)
I’ve got a FilePolling adapter established, and have a service to invoke. I need to be able to obtain the file name of any file posted to the incoming directory, and then do something with it (read and process it, ftp it elsewhere, etc.). I can’t find any documentation regarding obtaining the file name, however. I can use getFile IF I know the file name, but therein lies the problem.
I think it’s directly available in the pipeline. That is, the file name (fileName) is passed to the invoked service, along with original file name (originalFileName), ffdate, and Content-type.
At least in IS 6.5 it’s there…
To test, simply use savePipeline (or savePipelineToFile) in the invoked services, and examine the Pipeline (or Pipeline file)