Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Parse Structured form does NOT support iteration.

SA-21771

Summary



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.


Error Messages



Not Applicable

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

Root Cause



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.

Resolution



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.
Suggest Edit

Published April 8, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us