Unattended job fails with "Foreground job requires..." error even after fixing Non-compliant machine status

Hello everyone,

I am encountering an issue with my Unattended job in UiPath Automation Cloud. I'm trying to set up a Time Trigger for a Foreground process, but it keeps failing with a specific error.

**Problem:** When I create a Time Trigger, the job fails with the following error: Foreground job requires an unattended robot to be defined on your user (#1230) Trace ID: e5976ab21a164e79a2bda7f23b43d0b9

**What I've done so far:**
-Created a Robot Account (TAS) and a Machine Template (TAS Local).
-Connected my UiPath Assistant as “Unattended” using the machine key.
-Assigned the TAS Local machine template to my “My Workspace” folder.
-Found a “Non complia” status on my machine and updated my UiPath Assistant to resolve it.
-The machine now shows as “Compliant” in Orchestrator.
-Confirmed that all folder and user assignments are correct.
Despite all these steps, the error still persists. Any help or suggestions would be greatly appreciated.

Thank you in advance for your response and assistance.

@Ramin Welcome to UiPath Community

There is no Unattended Robot machine available in your Orchestrator folder. Please configure an Unattended Robot setup.

To use your current machine as both Attended and Unattended, follow these steps:

Unattended Setup:

  1. Create a Machine Template in Orchestrator Tenant.
  2. Fill in the required details as shown in the reference screenshot.
  3. Copy the Machine Key.
  4. In Orchestrator settings, connect using the Machine Key.

Attended Setup:

  1. Open UiPath Assistant and click Sign in.
  2. Approve the connection.

Once done, your machine will be connected as both Attended and Unattended.

1 Like

Make Sure your Folder in which your process is there should contains the robot and Machine both which are configured and connected with Assistant.

Hope this is Helpful

Happy Automation

Hi @Ramin

the error happens because foreground jobs need an unattended robot assigned directly to your user. make sure your unattended robot is linked to your user in orchestrator and that the time trigger uses that robot.

also, check that your robot license supports unattended runs.

If helpful, mark as solution. Happy automation with UiPath

@Ramin

Welcome to the community

on machine side you look good..as per error looks like the user assignment is wrong or missing

did you provide creds to user and robot role?

to confirm go to orchestrator → tenant → robots → you should see one with robot type as unattended and the same should be assigned to the folder where you are running the process

cheers

@Ramin

Per my understanding, This error means the user you are using to run an unattended process doesn’t have robot role assigned to it.
please note that it should look somewhat similar like below for your bot account/unattended user.

1 Like

Could you please tell me how I can access this page?

@Ramin
Please follow the steps below:

  1. Log in to your UiPath Cloud account and go to Orchestrator.
  2. Navigate to Tenant > Folders.

Note: I recommend exploring all the available pages in UiPath Orchestrator, including filters, advanced options, and other settings. This will help you get a better understanding of how Orchestrator works. If you face any difficulties along the way, the Community is always here to support you.

Happy Automation!

"Hello everyone,

I have tried all the steps you have kindly suggested, but I am still unable to set up a Time Trigger. I am getting the same error as before.

I’m not sure if I’m missing a step or have made a mistake somewhere else. Your assistance has been incredibly valuable to me, and I appreciate all of your help.

Thank you so much for all of your support. It means a lot to me."

1 Like

1 Like

1 Like

@Ramin Try setting up a trigger and running the process unattended from Orchestrator.

Hi @Ramin

In your screenshot, I see tas user as robot. Have you provided robot role to this user in your Shared folder?

I see automation developer and few other roles you have provided. Can you please share which all roles have you provided?