I am receiving a single document that contains all invoices from a single customer. I then have a scheduled QuickFields session that is successfully splitting the document into the individual invoices and extracting the invoice amount. The customer would like an email that tells the total # and amount of invoices that were split from the single document. I have a workflow that sends this email correctly assuming the QF session is complete. The problem is that the QF session can take anywhere from 1 minute to 3 hours depending on how many invoices are in the original document. I know that I cannot have QF or QF Agent run a workflow once a session is completed. I also know that I cannot have the workflow run on a schedule as it has know way of knowing if an import session is completed. I've seen the suggestion on having a user trigger the workflow, either via a Business Process or a Form, but this customer wants the automation as that is the point of the QuickFields Agent and Workflow.
Is there a way to find the last page in a session, not a document, and mark it? Has anyone found a way to allow Workflow to know once a session is completed?