If the server is in sleep mode or disconnected by another user session, UiPath robot is not working properly

If the server is in sleep mode or disconnected by another user session, the UiPath robot is not working properly. Is there any way to change this foreground process session to a background session?

Hello @Muhammed_Yaseen
Use simulate click or send window message property
Avoid image activity

1 Like

same error generating while using a simulate click or send window message property.

Cannot find the UI element corresponding to this selector:

RemoteException wrapping UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: —> RemoteException wrapping System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector, IVariableResolver resolver)
— 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)

If the server machine is disconnected or in sleep mode, the process cannot run. The robot needs contact with the server machine in order to send and receive messages with Orchestrator.