Parse Structured form does NOT support iteration.
According to the help section, "If creating an iteration in a Parse Structured form, you can select For Each Page, For Each Embedded Page, For Each Element in Value List, and For Each Element in Value Group. These operate identically in a Parse Structured step and an activity step."
However, iteration is always skipped in the Parse Structured rule during processing as per tracer log.
Steps to Reproduce
1. Configure a service file rule and use Structured ParseRule to reference a parse structured rule
2. Configure a iteration step in the parse structured form to read the byte from a file or a string
3. Check the tracer and find out the iteration step is always skipped
The activity step for which loop is configured as For each value in value List is skipped in structured parse rule because generated java for this rule does not include the code related to looping. This may be gap in pegasystems implementation.
Create a activity with a step to call structured parse rule in a loop and call this activity from structured parse rule configured on the service file rule form.