Traversing a loop in a loop
I would like to read the HTML stream of a section to identify its components.
I am currently using Pega activities to do so with some Java steps with Jsoup libraries when needed.
In my current architecture, I am reading the HTML stream looking for DYNAMICLAYOUT in a main step then identifying any content such as dropdown, textInputs, radioButtons, .....in sub-steps. Sometimes, we could have embedded DYNAMICLAYOUTs in our main layout ; the embedded one having its own content. I would like to find a way return back to the main step when I found another dynamic layout in my current dynamic layout and process again the search of any content in my sub-dynamic layout