Let me breakdown my problem to you. I have written a workflow to basically automate the process of report downloading from a legacy site and process the data, push into DB and send success/failure emails to the respectively configured emails.
This is all done using UI Automation using Studio.
Now the problem here arising is, whenever I publish this process to Orchestrator and set a trigger to run at a specific time, this error pops up.
I have researched about this problem and found out a typical working solution is that we have to Install UiRobot and it should be installed in Service mode (which i had no idea previously).
I uninstalled UiPath and re-installed with custom settings configuring to install Unattended Robot (previously it was installing attended Robot which I had no idea it was doing that.), but this time it skipped installing UiPath Studio. So, after the robot got installed, I went and ran the installer again to Repair the program and installed UiPath Studio.
I actually found out the solution guys. So if anyone faces this please give them this thread’s link.
I was facing this issue since a long time where the Robot was being installed in User mode.
After this, I installed it the right way in Service mode selecting advanced options in Installer.
After that, when it asks for either License Key or Login, close UiPath and open UiPath Assistant.
3.Now go to preferences and click Sign-in.
It asks for Client ID or Machine key with Orchestrator URL. Give all the required fields and click sign in.
It will first show “Connected as Unattended”. Click sign-in again and it will redirect to Orchestrator prompting to sign-in. Click Open there and you are all set to go.
It will show, “Connected, Licensed” in UiPath Assistant.
Now If you want to run Unattended Automations, follow these steps below.
Go to Add Robot account and click create template.
There you will have options like Serverless or VM, there is a tab beside saying Run on Local, click that.
Now click Specific Windows credentials.
Here give all the details, your pc name can be found out by running the command “whoami” in cmd.
Now, give your Windows Password (don’t give PIN even if you have a pin or something else setup, give your original password which you created at the time of installing windows).
Now save it, go to next tab and Switch “Login to Console” to on and select Yes.
You are all set to run Unattended Automations without any issues.
Create triggers or CRON jobs scheduled at a specific time and UiPath will take care. This was really a great learning and took me a lot of time to solve it (I don’t know if it happened to me only or if Im really slow in learning ). But yeah feels good to solve a problem.
Thank you everyone for your assistance.
Happy automations!