Hi to all,
premised, I’m using a UiPath Studio, without the orchestrator.
I wish I could stop the process, if a certain situation arises.
Ex: the bot needs to log into a web GUI, to perform a series of cyclic operations.
If the user is blocked, I would like it to stop permanently.
Currently the bot uses a scheduler, therefore, I set an action RANGE of 1h, and during that hour, it is either working or trying to log in.
I would like that after the first attempt, if it fails to connect, it stops definitively, in fact, as if it no longer considers the to-do list, but goes directly to the bot’s last task.
is there a way to do this?
thanks to all…
Just assume you are running the unattended bot if you want to stop it either you need to do via orchestrator or from the robot machines installing assistant apart from these there are no other options.
I suggest implementing exception handling directly into your code. If this is not an error scenario where you want to throw an exception, you can simply catch the exception and invoke the referenced “bot’s last task” with an Invoke Workflow Activity, and proceed with Closing All Applications after.
The bot’s last task in that case should be placed in a separate workflow that can be invoked if the scenario is encountered.