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
- Configure a split-for-each to run a sub flow.
- Provide an Exit when condition.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.