I have created a workflow for the invoice AI processing stuff and am trying to get it ready for our AP folks using. Everything seems to work pretty well, but there are certain invoices that really slow down the workflow to a point where it is too long of a wait without some kind of loading screen to show the user. Some PDF invoices have a second page with a bunch of small text terms and stuff, which I have found slows things down exponentially. Most invoices only take 5-10 seconds. This workflow will be an attended automation that the AP folks run to read and process all the invoices in a specified folder.
Is there a way to make this process faster for the end-user?
The scale was not the problem. PDFs with large amounts of small text were slowing down the OCR process in many cases. I ended up using Orchestrator Queues and Transactions after getting help from UiPath. I created one workflow that processes all invoices in a folder to do the OCR and Machine Learning parts in an unattended job, then places the extracted results into a queue. A second workflow then gets those transactions from the queue and allows the user to quickly validate each extracted result. This was the only decent solution to speed up the ML invoice processing.