Folder and file structure
- The parentMailboxFolder argument specifies the parent mailbox folder name (for example, Inbox).
- Users must create subfolders inside the parent mailbox folder, or at the same level as the parent folder.
- For each subfolder created, the user must manually create these sub-subfolders:
- InProgress
- Purpose: Stores emails where document processing is in progress.
- Condition: When processing of any document in the email starts, the email is moved to this folder.
- Success
- Purpose: Stores emails where all documents are processed successfully.
- Condition: When every document in the email completes processing without any errors, the email is moved here.
- Failure
- Purpose: Stores emails where all documents failed during processing.
- Condition: When none of the documents in the email are processed successfully, the email is moved to this folder.
- PartialProcessed
- Purpose: Stores emails where some documents processed successfully and others failed.
- Condition: If an email contains multiple documents and the outcome is mixed (some success, some failure), the email is moved to this folder.
- UploadFailed
- Purpose: Stores emails where document upload to IDP or IDM failed.
- Condition: When the documents upload fail at IDP or IDM, the email is moved to this folder.