# How to break a "for each embedded page" loop

**URL:** <https://forums.pega.com/t/how-to-break-a-for-each-embedded-page-loop/4501>\
**Category:** Blueprint and App Design\
**Tags:** low-code-app-development, 8-6-6, pega-platform\
**Created:** [May 20, 2023, 12:21pm UTC](https://forums.pega.com/t/how-to-break-a-for-each-embedded-page-loop/4501 "2023-05-20T12:21:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxonL16591286](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@MaxonL16591286](https://forums.pega.com/u/MaxonL16591286)\
**Post date:** [May 20, 2023, 12:21pm UTC](https://forums.pega.com/t/how-to-break-a-for-each-embedded-page-loop/4501/1 "2023-05-20T12:21:24Z")

</div>

How to break a “for each embedded page” loop?

The “Exit interation” just skip current round of the loop and enter next round, like “continue” in java.

How could I quit the whole loop (like “break” in java)?

Thanks.

---

<div class="post-metadata">

**Author:** ![Uday\_Reddy\_Gunthala](https://avatars.discourse-cdn.com/v4/letter/u/6bbea6/32.png) [@Uday\_Reddy\_Gunthala](https://forums.pega.com/u/Uday_Reddy_Gunthala)\
**Post date:** [May 20, 2023, 2:21pm UTC](https://forums.pega.com/t/how-to-break-a-for-each-embedded-page-loop/4501/2 "2023-05-20T14:21:03Z")

</div>

@MaxonL16591286 use jump to later step

---

<div class="post-metadata">

**Author:** ![MaxonL16591286](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@MaxonL16591286](https://forums.pega.com/u/MaxonL16591286)\
**Post date:** [May 21, 2023, 6:16am UTC](https://forums.pega.com/t/how-to-break-a-for-each-embedded-page-loop/4501/3 "2023-05-21T06:16:37Z")

</div>

@UdayReddyGunthala ok, a way not so “graceful”. Thanks.
