<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I decided to move the loop in in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52985#M7769</link>
    <description>I decided to move the loop in to a subpage, and attached the stages after condition to an end stage. So if the condition is met, I do my calculations and end the sub-process.</description>
    <pubDate>Tue, 27 Sep 2016 12:58:00 GMT</pubDate>
    <dc:creator>shahariar_k_bhu</dc:creator>
    <dc:date>2016-09-27T12:58:00Z</dc:date>
    <item>
      <title>Collection - Break/exit from loop</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52982#M7766</link>
      <description>Is it possible to break/exit from a loop if a certain condition is met inside the loop? 

For example, if I loop through a collection named "Collection": if Collection.ID = 124, then I want to exit the loop. I don't want to end the process on the same page.

One possibility would be to transfer the logic to a new page, and end the sub-process when a certain condition is met. Is it possible to exit the loop without doing that?</description>
      <pubDate>Mon, 26 Sep 2016 22:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52982#M7766</guid>
      <dc:creator>shahariar_k_bhu</dc:creator>
      <dc:date>2016-09-26T22:01:00Z</dc:date>
    </item>
    <item>
      <title>Hi shabu,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52983#M7767</link>
      <description>Hi shabu,
Not sure what your issue is to be honest. Can you explain more?
Can you not just use a decision stage in your loop that checks is [Collection.ID] = 124 the route out of the loop and do something else?</description>
      <pubDate>Mon, 26 Sep 2016 23:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52983#M7767</guid>
      <dc:creator>TomBlackburn1</dc:creator>
      <dc:date>2016-09-26T23:10:00Z</dc:date>
    </item>
    <item>
      <title>Yes, sure.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52984#M7768</link>
      <description>Yes, sure.
In Java, you can easily break out of a loop when a certain condition is met. For example
for(x=0; x</description>
      <pubDate>Tue, 27 Sep 2016 10:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52984#M7768</guid>
      <dc:creator>shahariar_k_bhu</dc:creator>
      <dc:date>2016-09-27T10:44:00Z</dc:date>
    </item>
    <item>
      <title>I decided to move the loop in</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52985#M7769</link>
      <description>I decided to move the loop in to a subpage, and attached the stages after condition to an end stage. So if the condition is met, I do my calculations and end the sub-process.</description>
      <pubDate>Tue, 27 Sep 2016 12:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Break-exit-from-loop/m-p/52985#M7769</guid>
      <dc:creator>shahariar_k_bhu</dc:creator>
      <dc:date>2016-09-27T12:58:00Z</dc:date>
    </item>
  </channel>
</rss>

