I am testing action center with a simple workflow that sends an email at the end of the process. When running the workflow via UiPath Studio it runs successfully. Although, when running via Orchestrator, it sends the following error message:
The operation has timed out.
RemoteException wrapping System.TimeoutException: The operation has timed out.
at UiPath.Mail.Activities.SendMailActivity.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)
To answer your question, @lakshman, yes, I’m running in Unattended mode.
When running other processes on the same environment and the same machine, the activity Send Outlook Mail Message works fine. The problem is in this workflow
have you tried to record the process? Turn on Enable recording in the process settings (Prchestrator). This way you’ll know the issue. Usually it’s due to Outlook not opening properly. I’ve resolved this kind of issue by opening Outlook app first and then sending a message.
To be honest Outlook app is generally not a recommended way to manipulate emails. It’s not stable usually and generates a lot of issues. Do you have a possibility to use Office365 API? Azure App Registration would be needed.