The above pages are embedded pages (not page list) inside TempPage.
I have to check .pyMapFromKey exists in any of these pages and if yes, I have to get that value.
So, instead of hardcoding the page name and getting the value, I tried to use ForEachPage in loop.
I left the StepPage blank and included Rule-Connect-REST in Only Loop Certain Class field. Pega took the steppage as TempPage dynamically at run time.
Similarly, I want to get the Pages (of class Embed-InterfaceParameter)inside TempPage. It should dynamically determine the StepPages (of class Embed-InterfaceParameter) inside TempPage, instead of hardcoding.
Please let me know if you are not clear on my query.
As discussed earlier, you can use For Each Page to loop through the pagelist/pagegroup. In JAVA terms, for any looping activity, we need to have some list/array data structure. I think Single Page does not provide that data structure.