One of the major usages of Data Pages in Pega is to provide cached data to the application as per requirement and avoiding network traffic as much possible.
Pega loads data in data pages irrespective of the source though as per "Refresh Strategy" configured. There are two concepts belonging to data pages-
- How often data changes decides "Refresh Strategy".
- The scope of data which decides where it should be cached. Thread(Each thread have its own set of data), Requestor(separate copy for each requestor) and node(Server level).
Your question is concerned with the first question mostly, so let's discuss it:-
- Irrespective of the source(in your case SOAP connector rule), the first invocation of data page fetch the data into the clipboard.
- There are three options, namely
a. Reload once per interaction:- Everytime application reload data when its invoked or accessed.
b. Do not reload when:- Reload depends on logic written in configured "When" rule. It will only reload, "When" rule returns false or the configured condition doesn't fail.
c. Reload if older than:- It's mostly used for refreshing data automatically, it takes expiration time for the data after which data fetched earlier was marked at stale and very next invocation of data page will lead to reloading the data in the clipboard(in your case it will hit connect rule to get data).
Hope it answers your query. Kindly mark as answered if it does, though you are free to post more queries related to this.