โ† Robotic Process Automation (UiPath) learning path
Robotic Process Automation (UiPath) ยท Module 7 of 10

Error handling and debugging

Build robust automations.

๐Ÿ“– Key ideas

  1. Try Catch handles exceptions.
  2. Retry Scope retries flaky steps.
  3. Business exceptions (bad data) vs system exceptions (app crash).
  4. Log messages for troubleshooting.
  5. Debug with breakpoints, step into/over and watch panels.
๐Ÿ’ก Real-life example: Error handling is a safety net under a trapeze: when a step slips, the bot recovers instead of crashing.
Try CatchHandles exceptions
Retry ScopeRetries actions until success
Business exceptionError from invalid data/rules
System exceptionError from technical failure