Posted: 9 Feb 2017 19:50 EST Last activity: 6 Mar 2017 1:40 EST
Fetch/Create a PageList of results from an existed Pagelist doing filter(when-true) without looping over the complete list
Suppose there is an existed Pagelist(Node level DataPage) eg:TempMaster(). Now I want to filter the list from it with a when condition and want to create a new PageList out of it eg:NewPageList().
Here I don't wan't to loop over, filter and then append from the pagelist (TempMaster()) because its very long list that might contain more than 5000 records. Also I don't want to hit the DB table using Report-Definition or Obj-Filter as there would be too many hits needed in my case.
Is there any OOTB method or function to create a new pagelist from existed pagelist with some filter conditions?
Since you have to select the embedded pages from the original page list based on a when rule, you don't have a choice but to check each embedded page over the when rule. What can be avoided here is to not have an activity step where you loop on the original pagelist and use the when rule in the precondition of the child step and then copy the embedded page into the new pagelist which matches with the when rule,. Instead you can use a custom version of the IsInPageListWhen function.