What is the best practice to be used if there is some error in the code and bot is stuck at some point and other processes in orchestrator are in waiting state

what to do in case of that?

Which activity is the bot getting stuck forever on?

Most UiPath activities have timeout option in the properties.

You can try use Try Catch activities on your code and set timeout option, or even set the continue on error option to true.

1 Like

@aparna3010,

Handle all scenarios in testing phase.
Debug a code and see if it’s doing as per me, if not, resolve an issue do this until project is error free.

1 Like

Ok…Thank you for your reply!!