I was able to setup a service to read a Flat File using pub.file:getFile and pub.flatFile:convertToValues services.
Then I set up a new port to perform file polling every 15 seconds, and it process the input file and puts it in the error folder.
How can I modify my service to start reading the file from the polling input directory, instead of the hardcoded (string entries)?
What are the sequence of service that I need to call?
Have anyone done this before? If so, can you post your steps?