This process is used to poll/scan a configurable set of directories for target files. Upon identification of the arrival of a target file an analytic is called which can load the data from that file, transform/cleanse the data and publish it onto the platform.
On finding any file, a message Is published to identify that a file has arrived and if the file matches the regular expression in configuration, it will also try to process that file.
An Alert can be triggered for a missing file based on expected arrival time.
The below table details the FILEWATCHER template parameters.
|initialStateFunct||Analytic||dxEmptyFunctionNull||Sets the analytic to run on start up|
|publishChannel||Symbol||Messaging channel to publish on|
|fileListConfigName||Configuration||DS_FILEWATCHER_MATCHTABLE||Config parameter to use to load file information|
|consumerProcesses||Process Instance||Published to processes|