03_GetResults
This 03_GETResults workflow retrieves and stores OCR results for processed attachments. 03_GetResults workflow is invoked by the preceeding 02_UploadFiles workflow using RPA _execute Job API endpoint.
This workflow includes these processes:
- Reads OCR_JobDetails.txt and queries the IDP Get Result API for each JobID
 - Extracts OCR data from API responses in JSON format.
 - Saves OCR outputs in the local OCR_Outputs folder, named by attachment
 - Tracks each attachment with Mail ID, File Name, and JobID
 - Moves emails to appropriate status folders (Success, Failed, Partial_Processed, UploadFailed, InProgress) based on OCR results
 - Completes the workflow by saving OCR data locally for downstream use.