Hi all,
we have an issue with our robots: Our robot-machines are waiting for new jobs while the screen is locked. Normally the Orchestrator “wakes up” the robot and unlocks the screen, when starting a job on that machine. We have about 100 to 150 jobs on each machine every day, and in 1 or 2 random cases the screen stays locked. This produces errors, as our software doesn’t work properly with locked screen.
Are there any settings at the Orchestrator, that will avoid this problem? Or do you know a way to check, if screen is locked. In that case we would stop the job and do a retry.
Hi @GouthamVijay
thanks for your post!
As our logon needs very long time, we don’t logoff after a job, only lock the screen. I think, the resolution is not the problem. I add screenshots off our settings. The ‘never sleep’ option is not necessary, when there is no job to do, a dispatcher-robot refreshes one site every 30 seconds to check for new tasks. It’s just between two jobs, when screen gets locked, sometimes the new job just dosn’t unlock the screen.
Is there any chance to check, if the screen is locked, maybe as the first steps in a new robot/job.
Thank You!
Moritz
As you are using UnAttended Bot, Locking the screen is not a good option. Please signout from the server.
I believe you are using remote servers for triggering Unattended Bot. In this case ideally you should never face an issue with lock screen.
And I assume the root cause is, not properly signing out from the server machine. If you minimize the server and keep it active for longer duration, your machine auto locks it and your next Job fails to run.
Try by signing out, and trigger the jobs or schedule it.
Hi @GouthamVijay
We don’t use server as unattended robots, we have ‘normal’ desktop-machines. Our main software doesn’t work on server-solutions or virtual machines. And I can’t log off that machine because logon will take too much time untill all software is startet.
The error occurs not very often, less then 1% of the jobs. And for that I don’t want to change all jobs and everything else. It would be usefull for me, if I could check, if the screen is still locked in my first activity.
Br
Moritz
To check your screen is locked more precisely, Use try-catch block at your first sequence.
You can download locked windows image from Internet and use the same in “Image Exists” activity for more accuracy or you can come into a conclusion if your first activity goes into an exception.
try{
}catch(System.Exception){
//ImageExists of Locked Screen
stop the process by }