From the course: UiPath Essential Training

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Framework exceptions

Framework exceptions - UiPath Tutorial

From the course: UiPath Essential Training

Start my 1-month free trial

Framework exceptions

- [Instructor] So now we've been able to run through some jobs successfully, one of the key aspects of the framework is that it's able to deal with different types of exceptions. If we look at our main process, we can see that in the process transaction state there's a try catch handler. What this means is that if there's a business rule exception, and by business rule we mean any pre-defined business logic that is part of our process, so, for example, if an email address doesn't contain an @ sign, or if a name isn't of the sufficient length, we can deliberately throw a business rule exception and it will be handled by the state machine. The state machine will then process the next case without taking any further action. However, if there's a system exception, such as the ACME application isn't available anymore or the selectors can't be found for whatever reason, then the state machine will restart the ACME application…

Contents