Issue in scheduling the workflow via Orchestrator

Hello,

We are scheduling the workflow in UiPath Orchestator.

We can run it via Windows Scheduler but when we try to run the same workflow via scheduling it to run via -Orchestrator - Execute - Schedule- Create Schedule , it gives following error:

In Do attachment sent mail Message UiPath.Core.ElementOperationException: Desktop has been disconnected while performing UI actions. —> System.Runtime.InteropServices.COMException: Desktop has been disconnected while performing UI actions.
** at UiPath.UiNodeClass.Click(Int32 dx, Int32 dy, UiClickType clickType, UiMouseButton mouseBtn, UiInputMethod inputMethod) at UiPath.Core.UiElement.Click(Int32 offsetX, Int32 offsetY, ClickType clickType, MouseButton mouseButton, InputMethod inputMethod, Position mousePlacement) — End of inner exception stack trace — at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom) at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom) at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)**

Kindly check and let us know, are we missing anything ?

Thanks,
Omkar Shirsat

Please give more details and check the forum around “Desktop disconnected…”

Using Simulate click property in Mouse Click activity solved the issue.