uipathuipath-activityuipath-api

How to create an unattended robot in UiPath Orchestrator?


I have a robot created in Studio and published to Orchestrator but I can’t manage to run it as an unattended robot.

I can create the robot and create a process but when I try to run the process the robot I created is not visible.


Solution

  • tl;dr

    My experience has been that the Environment creation and subsequent robot association is typically the step missed when creating a UiPath robot. Check that first. Hopefully the solution will be as simple as addressing that.

    /tl;dr

    Robot creation

    There's a fair bit to unpack here, and while there are a few places you can go wrong when you create UiPath robots, it's not a particularly onerous task once you've done it a few times.

    Here's how you do it, from start to finish:

    1. Publish your code to Orchestrator
    2. Create a machine in Orchestrator and connect to it with UiPath Assistant
    3. Create the unattended robot
    4. Add the robot to an environment
    5. Create the process to map the code to the robot

    It seems like you've got step 1 and 2 down, as you can't publish without a machine created and UiPath Assistant configured. So the issue is somewhere in steps 3, 4 and 5.

    Here's what the page to create an unattended robot looks like:

    enter image description here

    Errors commonly occur on this page. Please make sure:

    Don't forget the environment tab

    After you create the robot, make sure you go to the Environment tab, create an environment, and associate the robot with that environment. This step is commonly missed, and without it, your robot will not show up when you go to run your process. My guess is this is most likely the missing step.

    enter image description here

    With the robot created, the environment configured, and the UiPath Assistant configured with a connection to the machine listed in the management section of UiPath Orchestrator, you should be able to create a new UiPath process, and when you go to run the process, the robot you just created will be listed as a possible job target.