I am experiencing a chaotic behavior from the Get Outlook message and Move Outlook message activities.
The process executes the next actions :
Scan of a subfolder (Inbox\subfolder 1)
Send a mail,
Move it from the Sent Items to another subfolder (Inbox\subfolder 2)
The deletes the mail previously scanned (mail within the subfolder 1)
Sometimes, at what seems to be random instants, either the get Outlook message or the move Outlook message raise the error “The specified folder does not exist” even though it does.
In debugging when such error happen, a simple “Retry” let the activity working normally.
Do you guys know any fix for such behavior ?
Thanks in advance
Studio version : 2021.10.5 (unauthorized to update)
Mail.Activities : 1.20.0 (unauthorized to update)
System.Activities : 23.4.3 (unauthorized to update)
The cause of the errors are the connection loss between the terminal outlook application and the outlook local server.
In order to maintain the connection, you should let a dummy foreground instance of the Outlook application run while the the robot is executing (or at least while the robot have to send mails). It makes all Outlook related activities (send, get, delete & move) much more reliable.