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

Exit when Condition in SplitForEach shape does not work

SA-16280

Summary



When Looping though the Pagelist using SplitForEach with a when condition to exit the iteration, it fails to exit depending on the Exit when condition and continues through the entire pagelist.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Configure a split-for-each to run a sub flow. 
  2. Provide an Exit when condition. 
  3. In the sub flow make the when rule true.


Root Cause



An issue in the configuration.

Resolution



Instead of using iterate with Exit when, configure a ‘Join’ condition to ‘some’ and use Exit 'when'. 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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