Hi all,
I’m trying to run fetch email attachments from new email messages. The problem is, even when there are new mail messages, sometimes the Get Outlook Mail Messages activity returns null (error: Log Message - MailMessage: Object reference not set to an instance of an object.), causing my automation to crash at the following Log Message/If statement that checks if the mail message count is greater than 0 (MailMessages.Count > 0). This rarely happens when I’m running in Studio, but happens almost constantly when running the automation from Orchestrator/unattended. Has anyone experienced this and found a solution? I’ve attached a screenshot of my workflow below.
Thanks in advance!