We’ve been having problems running a robot where it should get the last unread email.
The issue seems to be that on the first run it doesn’t read the message at all, and the email is still marked as unread. On the second attempt, it works just fine.
I’ve found one post where someone else had this issue, and the solution was to use the exchange-activity instead. I would rather delve into possible solutions to keep the Outlook-activity, so if anyone has any idea or have had this issue previously, I would very much like to hear about it.
Hi @fh9090,
Welcome to the Community!
Outlook has this terrible thing that if you have new mail in inbox and it’s marked as the actual one to read the application is still showing that mail is unread.
So maybe you could try to perform to close outlook application and run it again before performing to get the mail.
Thank you for the suggestion, and I now understand what’s causing the issue.
I’m using the Get Outlook Mail Message-activity, and does this actually open Outlook or does it get the message in the background?
Are you suggesting that I should use an open application activity, then close Outlook, and finally everything else after that?