Question

11
Replies
9588
Views
Close popover
Sowmya Kalyanaraman (SOWMYA21)
Wipro

Wipro
IN
SOWMYA21 Member since 2012 3 posts
Wipro
Posted: December 11, 2017
Last activity: December 18, 2017
Closed

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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.