I have an automation that needs to read an Outlook folder. It retrieves the emails, one at a time to process them. I read the email in the GetTransactionData section of the Framework, via a Get Outlook Mail Messages. This works great(easy.) The issue I’m having is getting the attachment to move to the Process section of the framework.
my output from the Get Outlook Mail Messages is “inMessages”
List<System.Net.Mail.Messages>
1.) I have modified the New Transaction trigger to the following:
Condition: inMessages.Count > 0
here is the error message: VisualBasicValue: Object reference is not set to an
instance of an object
I have this process working in a Sequential workflow just fine.
You can make in such a way where you can consider each email as a new transaction and instead of getting transaction queue you can loop through these emails where you saved them after reading. hope this helps.