Error handling in a data page
Data pages store the data that cases use for populating properties, calculations or other processes. Developers determine where that data originates and how it gets to where it is supposed to be by defining data sources on the data page record.
Error handling in data pages
Error handling in data pages can be accomplished through various methods. Some of these methods are relevant in different parts of the data-handling process. Pega Platform provides developers with the necessary tools to create custom error-handling responses for specific data page errors without using activities.
Data page errors occur for a variety of reasons, which all prevent data from loading as expected. Examples of the causes of data page errors include system errors, invalid input, using keys that are not on a keyed page list, connection problems, and security or authorization issues.
Invocation errors and data source errors are the two types of errors that occur with data pages. For more information about handling these errors, see the following articles:
- Errors in data sources
Data source errors occur during the execution of a data source, and cause the data source to return incorrect, flawed, or missing data.
- Invocation errors in data pages
Data page errors occur for a variety of reasons, all of which prevent data from loading as expected. Invocation errors prevent requested data pages from loading correctly.
- Handling data page errors by using a data transform
To specify error handling for each data source in your data page, use a data transform. You can use this data transform across multiple data sources and data pages in the application. For example, with an activity data source, the same data transform can be used to handle data page errors.
Previous topic Configuring keyed access in a data page Next topic Errors in data sources