
Exceptions are designed to handle unexpected situations that arise during runtime and disrupt the normal flow of a process. Exceptions deal with the unexpected situation by executing an additional action, block or process, called an exception handler.
Some callable objects can define exceptions that are propagated to the block level and need to be processed. For that purpose, at block level, you can define an exception handler, as well as an exception handling strategy.
This tutorial demonstrates how you can model exception handling in Guided Procedures (GP).
This exemplary process consists of three steps:
In the event of exception, that is, a user with this User ID does not exist, the system displays the input form from the first step with the User ID filled in.
To be able to complete the tutorial, you need the appropriate authorizations for working with the gallery and creating components in GP design time.
More information: Authorizations
In addition, you must have implemented the User Details callable object for background execution, as described in Exposing a Java Class as a Callable Object .
To implement this tutorial, you go through the following steps:
You can start this tutorial by Creating a Data Input Form .