Uknown reason orchestrator queue status set to failed

Hello!

I have built a robot in the Robotic Enterprise Framework, which runs smoothly locally. However, when I publish this to orchestrator and start a job with the unattended robot, some queue statusses are set to ‘failed’ and I don’t know why. Locally I can’t find a reason why these items are failing while the others are being processed succesfully.

When I look at the reason why it is set as failed in Orchestrator, it is being regarded as a business exception, which is strange, because I didn’t build the exception in the Framework. Some additional information, the workflow contains a switch function with four cases. Three of the cases seem to be processed succesfully while the items from the fourth case are being set as failed.

Please let me know if I can provide additional information, and thankyou in advance.

Kind regards, Job

Hi @j.bude

I would recommend

First try to run locally in UiPath studio, put a breakpoint in switch activity and see the value in Local or Watch Panel

Hi @j.bude ,
Thanks for reaching out to UiPath community.

Implement detailed logging within your workflow, especially in the fourth case of your switch statement. Log relevant information, such as the input data, intermediate results, and any exceptions that occur.
Use the Log Message activity strategically to capture information about the flow of your process.

Thanks,
@pratik.maskar

Thank you for your answer, I will try this out and then get back to you.

Thank you both for your answers, I added the log messages and was able to pinpoint down where the bot encountered the exception. Apparantly it was an issue with the UI element, but I figured it out and it seems to be working now!

You should always use many Log Messages throughout your automations for troubleshooting purposes. You can also turn on verbose logging for the robot, but I don’t recommend leaving it on all the time.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.