SOWMYA21 Member since 2012 3 posts
Posted: 2 years ago
Last activity: 2 years 9 months ago

For Each Page - Loop

I need to get the list of mappings in Connect REST rules across my application. I tried to write my utility with below:

Step 1:- fetch the list of connector rules

Step 2:- loop over the results and set the key in local variable

Step 2.1:-Open by handle (Used TempPage as Step Page)

Step 2.2:- Loop: For Each Page with property-set

Since it is Connect Rest, I could find the mapping details in some page inside TempPage (like pyDeleteRequestData inside TempPage)

Since there are 4 methods(like post, delete..) instead of hardcoding the page name and checking the value, I tried to use "For Each Page"

but Pega always tries to find the pages inside Top level user pages and not inside TempPage. I want to get the Page (not page list) inside TempPage with class Embed-InterfaceParameter

Could someone please correct if I am doing wrong?

***Edited by Moderator Marissa to update categories***

Low-Code App Development Data Integration
Moderation Team has archived post
Share this page LinkedIn