An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Runtime.InteropServices.COMException: Condition is not valid.
at UiPath.Mail.Activities.GetMailActivity.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)
Thanks for you response. Do you know how to filter email based on some text in subject? As per solution, I can check Subject for equivalence condition only. Is there any way to filter Subject using LIKE??
As there will be a large number of mails, getting all of them and iterating on each one of them will not be an efficient way. this will reduce robots performance. That’s the reason I am looking for a filter criteria.
I have tried using DASL Query, and it work for me and i am able to fetch read or unread message both. If i check ‘OnlyUnReadMessage’ then i get only unread message, If I uncheck ‘OnlyOnReadMessage’, I get Read message as well