I am trying to execute a workflow on a VDI. I need to perform some actions on a desktop application and it works perfectly when it appears on the screen while executing it. The problem is, when I tried to execute the workflow with the remote session running disconnected from my computer, it appeared the following message:
“UiPath.Core.ElementOperationException: Desktop has been disconnected while performing UI actions. —> System.Runtime.InteropServices.COMException: Desktop has been disconnected while performing UI actions.\r\n at UiPath.UiNodeClass.WriteText(String text, UiInputMethod inputMethod)\r\n at UiPath.Core.UiElement.WriteText(String text, InputMethod method)\r\n — End of inner exception stack trace —\r\n at UiPath.Core.Activities.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)\r\n at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)\r\n at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)”,“timeStamp”:“2017-01-20T12:44:19.6089432+01:00”,“level”:“Verbose”,"
I don’t know what this is about. I’d appreciate any help. Thank you.