Dev Robot

orchestrator

#1

I have an Dev Orchestrator Robot created that I would like to run at night when the computer is locked, due to the amount of time it takes to run. I have everything created in Studio and have published it out to the Orchestrator and it runs correctly when the computer is unlocked.

I need to know how to set this to like an unattended or run when the computer is locked type of thing.
Is this possible?
Here is the error I’m getting

“Execution error : UiPath.Core.ElementOperationException: Timeout reached. —> System.Runtime.InteropServices.COMException: Timeout reached.\r\n at UiPath.UiNodeClass.BringIntoView()\r\n at UiPath.Core.UiElement.BringToForeground()\r\n — End of inner exception stack trace —\r\n at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)\r\n at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)\r\n at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)”

Could someone point me in the right direction. Driving me nuts


#2

Hi @Stephen_Crocker, since your process is in Orchestrator. You can trigger or schedule your process to run as long as your UiPath Robot is connected to Orchestrator. It will automatically unlock, run your process and lock it back.

Cheers


#3

Hi @quihan, I have tried running a schedule to run this and then lock my computer. When the schedule is set to run. I wait about 3 minutes then unlock my computer to rind out that it’s failed. I have admin rights on my computer, is there anything you would suggest I check. Like I mentioned before I can run this with no problems if the computer is unlocked.


#4

Hi @Stephen_Crocker, are you using Active Directory user or local user? Password is assigned in Orchestrator ?


#5

What error you are getting ?


#6

The error is listed in the first post. I’m thinking by your first response that the username and password might be the issue. I am using my email account (personal) and a password. Should I change the robot to use the AD username and password? Also It runs flawlessly if i’m logged into the machine just not when I lock the machine.


#7

Hi @Stephen_Crocker, using your email acc and password is fine. Looks like its more of a problem with your process. Would you mind try publishing a process with only Message box activity and run it through Orchestrator?

Cheers.


#8

Hello @quihan, I was able to create a Message box from the task then run it on a locked machine and it worked. So what do I need to do for a Citrix application. I have tried running it locally (from my computer through citrix) and from a RDP session. When the computer is unlocked it works. When the computer is locked it does not work.
Could you offer some suggestion?

Here is the error message

  • Process: DBC2
  • Environment: MyTestEnv
  • Robot: Message
  • Info: “Execution error : UiPath.Core.ElementOperationException: Timeout reached. —> System.Runtime.InteropServices.COMException: Timeout reached.\r\n at UiPath.UiNodeClass.BringIntoView()\r\n at UiPath.Core.UiElement.BringToForeground()\r\n — End of inner exception stack trace —\r\n at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)\r\n at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)\r\n at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)”

#9

Hi @Stephen_Crocker, is it possible for you to identify which activity is throwing the timeout error? Is your RED connected when your local machine is in locked screen?


#10

I’m getting the same error under the same conditions - Windows machine locked while trying to execute an unattended robot process. I’ve seen a number of posts on this problem but I have not seen any solutions posted.
Any assistance on this would be much appreciated.