Elements working fine when I open computer or screen is on. It is failing when computer is turned off. I mean few elements are not working properly and process failed.
(I have two PC which are connected to one company’s laptop)
I don’t know what is this error or how to solve this.
Hello @PALKUMARI_PATEL ,
All the background activities will work in the background automation even if your screen is locked.
Suppose if you are getting error for Click or Type enable Simulate Type, it will resolve your issue.
Plz confirm for which activity you are getting this error? and the screenshot of the property panel.
The issue is possible due to your activity setting. In order for an activity to run in background, or when user account is in locked state, you may enable “SimulateType” in activity properties. You can refer to the screenshot below for reference.
I am not getting any error for that element (I did not clicked on Continue on error) still process is finishing but not as expected.
Hi @PALKUMARI_PATEL,
Could you please tell us which activity it’s not working as expected.
Also the screenshot for better clarity.
Thanks,
Ashwini Kempraj
Hi @PALKUMARI_PATEL
So do you mean if you keep the screen active manually then only the process runs?
It means screen either gets locked due to timeout.
If screen getting locked up is the issue -
To keep the screen active all the time you can use a keepactive.vbs script which keeps the screen awake all the time.
You just have to double click the script and it will keep the screen active.
Script code:
Set ws=CreateObject(“WScript.Shell”)
Do
WScript.Sleep(5601000)
ws.SendKeys “{F15}”
Loop
Paste this in notepad and save as KeepActive.vbs
And then just double click and it runs in background.
Then you can run your automations.
Or
Use some hotkeys (ctrl + D) in workflow which allow screen active.
1 Like
HI Rahul i am using a windows server where UiPath is installed and i have wrote a automation which works with a website clicks the button and type text etc when i keep the screen on it works fine but when i disconnect the remote desktop the process doesn’t run ?