Throughout file processing, the application moves the file from folder to folder. You must have these folders configured correctly for the application to pick up the file and parse it; otherwise, the application can't do anything at all with your file.
The folders must have the right names and be in the right place. The location of these folders depends on the base directory and system paths. The base directory is a System Management property that tells the application the first part of any address for all your system files. A system path is a relative path for any given category of file.
Go to the base path location, which is typically the Files folder located in your project's Code folder. Go to the Files module you want to host the staging folders (you can create a new folder for it, too) and create the necessary folders.
Besides actually having folders, you have to have system paths for all your staging folders and the most direct way to get them is just to create them in the application. Select System Paths from the Administration menu and create new path records. Give each path a code, relative path, and description. Refresh the servers when you're done.
An inbound file goes through the following stages, each of which requires a corresponding folder:
- Inbox: The file's location upon receipt and before uploading.
- Staging: The file's location upon validating and uploading the file or the file's location upon uploading but before validation.
- Processed: The file's location when processed or the file's location after validation if it has no hard errors or if the business rules say to ignore hard errors.
- Error: The file's location after validation if it has hard errors and business rules do not allow the file to be processed with errors.
An outbound file goes through the following stages, each of which requires a corresponding folder:
- Mailbox: The file's location when the application first creates it.
- Processed: After the file is created, a copy is placed in this folder with datetime prefixed to the file name.
This post is part of the Files topic. Click here to open the Files Overview.