I’m using a Move outlook mail message in a flow combined with the Get Oulook mail Messages activity. When I do a run the run goes good, till I’m at the 50/60th mail message. Then I get mostly a Runtime Execution error, with the message that the specific folder does not exist. Before I get this error the bot placed all several mails into the defined folder. Anybody else with the same problem?
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.ArgumentException: The specified folder does not exist
at UiPath.Mail.Outlook.Activities.MoveOutlookMessage.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Send outlook mail message works really well. Just a few things that we experienced was that Outlook needs to be open for a mail to be sent or received and in some instances (also activity dependent) the folder you are working from (inside of Outlook) needs to be focused on.
We generally use the Microsoft Office 365 activity instead however, it does require an active Azure subscription for the app registration.