I have a service in Livecycle ES that processes PDF files, via a WatchedFolderEndpoint. When the process is complete the original files are no longer needed. I have the watched folder endpoint configured to only preserve on failure, and that is working correctly. The issue is that the files that are in the stage folder never get deleted, even after they have been processed. I know that the files have been processed because I can see them in the database, which is the last step of the service. The folder is on a remote (to the livecycle server) path, and I don't think its a time issue because there are folders in there from the previous day.
My question is this, Why are the PDFs staying in the stage folder after being processed? The watched folder endpoint is used to pickup documents that have been placed there by scanners and we get around potentially 800~1000 a day, so this issue could eat up a lot large amount of disk space very quickly. Right now its manually being deleted periodically.
Here are the settings for the watched folder endpoint:
Path = \\xxx.xxx.xxx.xxx\SomeFolder\AnotherFolder\
Asynchronous = True
Cron Expression: = 0/20 * * * * ? (Every 20 Secs)
Repeat Count = -1
Throttle = false
Username = SuperAdmin
Domain = DefaultDom
Batch Size = 15
Wait Time = 1000
Include File Pattern = *.pdf
Result Folder = empty
Preserve Folder = empty
Failure Folder = failure/input
Preserve On Failure = true
Overwrite Duplicate Filenames = false
Purge Duration = -1