Revising the Vendor Invoice Posting project
Let's first revisit the complete vendor invoice posting business process and the subprocesses that are created as separate workflows. The vendor invoice posting business process will be split into seven subprocesses and each subprocess will be automated as a separate workflow to perform certain steps, as explained in the following sections.
Processing unread emails subprocess
This will be the first subprocess that will be invoked when the automation solution execution starts. We created the ProcessUnreadEmails
workflow for this subprocess that is used to read all the emails received on the current day and download the Excel attachments with filters, as discussed in the Reading and replying to Outlook emails section of Chapter 19, SDK Extension Libraries. The attachments are stored in the Attachments_PurchaseInvoice
folder under the ctx.options.path.log
folder to be processed by the next subprocess.