Configuring Task Re-run

Starting from v20.3, the default configuration of task-rerun in case of a Robot/Client failure is to not re-run the task. This is to avoid running tasks twice which might result with duplicated tasks, hence duplicated results/outputs and even actions.

What can cause a Robot to fail/crash?

  • Machine is down during Wizard run

  • User runs 'kill task' to the bot during Wizard run

  • User runs 'kill task' to the bot through a remote command (powershell)

  • A critical error occurs during Wizard run

Configuration

The configuration is set in the appSetting.config file of the Robot. You can change the configuration from "true" to "false". See implications.

Configuration implications:

  • If the value is "true", the Robot will report a failure and will not run the task again.

  • If the value is "false", the Robot will run the wizard again, starting from step 1.

The task will not run again in case more than 24 hours have passed since the Robot failure/crash.