How can we handle errors while trying to load data page asynchronously

When we call a data page asynchronously that is by using load data page,how can we handle errors in this situation?

@TanyaS58

Error handling in asynchronous Data page should be inside the Data page itself through response Data transform by logging the messages/Propertyset messages or if the Datapage is used on any UI error message can be dispalyed on the UI, Since its not loading synchronously its independent of the process or rest of the steps in Activity

@TanyaS58

We can handle those error using , a response data transform that can detect the type of data source and handle the errors appropriately.

  • It can happen asynchronously with any rule like if its with activity then use transition conditions such as StepStatusFail in activity steps to detect and handle activity data source errors..
  • You can also use pxErrorHandlingTemplate data transform.In the data transform rule form, click Save as, and then save the data transform to your top-level class and ruleset.(OOTB rule present for doing this error handling and save as per your need)
  • Do the logging on appropriate level where u r loading this data page.