I run a robot about 15 hours per day. Sometimes, there is a problem with the VM or UiPath has some unexplainable issues (“unexpected exit code” etc). Or it just stops working.
So there should be something like a heartbeat out of the code. Which ensures, the main robot loop is active.
Has anyone experience with that topic?
What do you mean by the main robot loop as active?
That means that this robot checks a given state in a system every few seconds. This is what i call the “main loop”. Because of the high frequency of the checks (every 2 Seconds), the process runs in a single job, started early in the morning and runs till midnight.
So you mean, you are logging some status every 2sec in a robot regarding some status ?
And the bot gets stopped in the middle due to some un-expected error, right ?
Are you doing error handling in your automation?