The situation is when a website changes and the bot cannot do what it needs to do. After so many errors I want the robot to auto-stop and hold the orders in the queue?
I do not want to create a schedule or create some type of disabling/kill process in the bot.
Set up an integer variable. Every time there is an error, increment the variable by 1. When the value has reached a certain number of errors, your logic should direct the automation to stop.
Assuming you’re using ReFramework or a custom one to loop through your queue items it is as easy as having a global counter to track the number of retries and add a transition to send it to “End Process” when the preset number of retries have been reached.