We have set up a port for file polling. A service is called when a file is dropped in the configured folder.
The question is “what determines which folder the file get moved to on completion? It either goes to the done or error folder.” Right now all our files go to the done folder. How do we make it go to the error folder?