Trying to schedule a robot run using trigger but the robot did not run

Good Day.

I am trying to run a robot using a trigger but the robot did not run after 1 minute. How can I solve this? Thank you.

Best regards,
Robert

@RobertRussell_Monsalud,

Follow this documentation for setting a trigger.

Orchestrator - Creating a time trigger (uipath.com)

Thanks,
Ashok :slight_smile:

But the robot still did not work. What should I do?

@RobertRussell_Monsalud,

Allocate Target Specifically with Account/Machine/Host

image

After creating the trigger, you should see the trigger like this. Next run time should see in seconds.

Thanks,
Ashok :slight_smile:

check whether you have selected robot and machine

Hello @RobertRussell_Monsalud
Here are the necessary steps to troubleshoot a UiPath robot that doesn’t run after a minute using a trigger:

1. Verify Trigger Configuration:

  • Review Documentation: Double-check the documentation Ashok (@ashokkarale) linked (https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/creating-a-time-trigger) to ensure you’ve followed the correct steps for setting up a Time Trigger in UiPath Orchestrator.
  • Trigger Type: Confirm that you’ve selected “Time Trigger” when creating the trigger.
  • Schedule: Verify the scheduled time of the trigger. Make sure it’s within a minute from the current time (adjust your test schedule for a few seconds in the future to confirm).
  • Repeat: If the trigger should run periodically, ensure the “Repeat” option is checked and the interval is set to 1 minute or a desired duration.

2. Allocate Target Robot and Machine:

  • Ashok (@ashokkarale) correctly pointed out that target allocation is crucial. In Orchestrator, navigate to the trigger you created and make sure the following are configured:
    • Robot: Select the specific Robot that should execute the automation when the trigger fires.
    • Machine: Choose the Robot Machine (individual computer running UiPath Robot Agent) on which the selected Robot will be executed.

3. Check Robot Status and Availability:

  • Robot Status: Ensure the designated Robot is in a “Connected” or “Available” state within Orchestrator. If it’s “Disconnected” or “Busy,” the Robot won’t run the automation.
  • Machine Status: Verify that the Robot Machine is online and accessible within your network. A disconnected or unavailable machine will prevent the Robot from executing.

4. Robot Execution Log Monitoring:

  • Orchestrator Logs: In Orchestrator, navigate to the “Jobs” section and check the execution log for the trigger/Robot job after the scheduled time. This log often provides clues about potential errors or execution issues.
  • UiPath Robot Logs: If the job appears to be starting in Orchestrator, access the UiPath Robot logs on the Robot Machine for more detailed information on the automation’s execution and any errors encountered.

5. Orchestrator Queues:

  • Queue Configuration: If your Robot utilizes queues in Orchestrator, verify that the queue associated with the trigger is properly configured and contains the necessary data for the automation to run.
  • Queue Items: Ensure there are items present in the queue if your Robot relies on them to initiate processing.

6. Debug Your Automation (Advanced):

  • Breakpoints: If you suspect an issue within your automation logic, set breakpoints in UiPath Studio within the relevant activities. This allows you to step through the execution and identify potential problems during trigger execution.

Additional Tips:

  • Test Thoroughly: After making configuration changes, trigger the Robot manually and monitor logs/execution to confirm successful execution before relying solely on the scheduled trigger.
  • Clear Orchestrator Cache (Advanced): In rare cases, clearing the Orchestrator cache might resolve configuration-related issues (consult UiPath documentation for specific instructions).

By following these steps and considering these tips, you should be able to effectively troubleshoot the issue of your UiPath robot not running after using a trigger. If the problem persists, consider seeking further assistance from the UiPath forum or support team, providing detailed information about your configuration and any error messages encountered.

Thanks
Mukesh Singh