Please go into the data page rule form and bring up the contextual help. If it does not describe how parameters work with data pages, or if it does describe it but insufficiently, please let us know the insufficiency so we can improve the documentation. Thanks. /Eric
Thanks for the information. i have a question regarding parameterized Data Page @ Node Level. In our load activity we are hitting a service and getting the results back, if for any reason service is unavailable the call will fail but the a blank Data page is getting created in the memory,
How can i delete the Data page instance if the service fails
The only means of manually clearing the data page, outside of the schedule specified on the Load Management tab, is to do an open the rule (Obj-Open) and execute the OOTB Rule-Declare-Pages.FlushDeclarativePage ACTIVITY. This will clear ALL instances of the data page.
-- We have use cases where we want delete a single instance of the data page, for those we have a wrapper to the OOTB Activity which we specify the target parameters.
You can have a status field . Set the value of this field to "ERROR" in case of service failure. Whenever you see status as "ERROR", You can flush values of datapage by calling function "ExpireDeclarativePage" which is available at baseclass.
Pega took this a enhancement request, for your reference
The enhancement is being considered for 7.2.1 release of PRPC (US-110010: As part of this story create an engine API that will remove the older data page and do a fresh load of the data page when older load had some error. The scope for this is node level data pages)