Document Submission Processor
The Document Submission Processor is responsible for determining if there are any 'Pending' Document Submission Items and submitting them for Processing.
This Background Processor uses the following information to do its processing:
Document Submission (Submission Status) = ‘Pending’ or ‘Processing’ (not loading or processed).
-
Processing Rules
Once started, the Document Submission Processor will:
Once complete, the Document Submission Processor will:
-
Update the
Document Submission (Number Added) with the total number of documents added successfully ‘Processed’.
Update the
Document Submission (Number Failed) with the total number of documents that failed to load during the processing of the document submission ‘Rejected’.
Submission Folder Clean-up
The File Submission folders that meet any of the following criteria will be deleted at the end of each Document Submission Process run:
The File Submission record in the database has a submission status of either “Processed” or “Rejected”.
The File Submission record in the database has a submission status of “Loading” and the upload start time is more than 24 hours ago. In this case, the File Submission status will be updated to “Rejected”.
The file is a GUID that does not match a File Submission record in the database and the creation time on the folder is more than 24 hours ago.
Folders are not deleted if:
The File Submission folder name is not a proper GUID. In this case we assume this is not a File Submission and we do not try to deal with it.
The File Submission status is “Pending” or “Processing”. In these cases we assume that the files will complete processing in some way in the future. If File Submissions become stuck in one of these states, they will require manual intervention to clean-up the files.