<?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 @John__Carter - Thanks, I'll… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86909#M37696</link>
    <description>@John__Carter - Thanks, I'll go check that out.
@aikudino - You could do this by only using the Linq library and looping through row numbers that way, using decision stages to see if your row++ calculation stage has gone over the maximum number of rows. Each cell can be referenced with integers starting with 0, or by name in the case of columns. Couple that with SQL queries and you've got your solution.
An enhancement like this would drastically simplify the process, though.</description>
    <pubDate>Tue, 13 Nov 2018 23:26:00 GMT</pubDate>
    <dc:creator>AmiBarrett</dc:creator>
    <dc:date>2018-11-13T23:26:00Z</dc:date>
    <item>
      <title>Better looping on a modified collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86906#M37693</link>
      <description>I've got some custom collection manipulation code I wrote using the Linq library. I discovered the other day that if you loop through a collection, then pass it into a custom code stage to modify it mid-loop, the row position resets after it returns the modified data. It would be nice if Blue Prism could retain this info within the loop.

I got around it pretty easily by modifying a cloned version of the collection, but it would be ideal if we didn't have to do that when it comes to large data sets, given how easy it is to make Blue Prism run out of memory.</description>
      <pubDate>Fri, 09 Nov 2018 20:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86906#M37693</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2018-11-09T20:31:00Z</dc:date>
    </item>
    <item>
      <title>Sounds like a good idea…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86907#M37694</link>
      <description>Sounds like a good idea. This channel will get more visibility than the forum&amp;nbsp;https://portal.blueprism.com/products/enhancement-request</description>
      <pubDate>Mon, 12 Nov 2018 14:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86907#M37694</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-11-12T14:49:00Z</dc:date>
    </item>
    <item>
      <title>Short version: this is how…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86908#M37695</link>
      <description>Short version: this&amp;nbsp;is how Datatable works.
Problem with your request is:&amp;nbsp;what happens if you loop over collection, then just drop all rows in the middle of your loop (simple case)? Nothing stops you from doing&amp;nbsp;it.
Now you either need to somehow only allow changing current row (not everyone would like this)&amp;nbsp;or come up with some other magic selecting ""next"" row.</description>
      <pubDate>Mon, 12 Nov 2018 19:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86908#M37695</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-11-12T19:39:00Z</dc:date>
    </item>
    <item>
      <title>@John__Carter - Thanks, I'll…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86909#M37696</link>
      <description>@John__Carter - Thanks, I'll go check that out.
@aikudino - You could do this by only using the Linq library and looping through row numbers that way, using decision stages to see if your row++ calculation stage has gone over the maximum number of rows. Each cell can be referenced with integers starting with 0, or by name in the case of columns. Couple that with SQL queries and you've got your solution.
An enhancement like this would drastically simplify the process, though.</description>
      <pubDate>Tue, 13 Nov 2018 23:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Better-looping-on-a-modified-collection/m-p/86909#M37696</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2018-11-13T23:26:00Z</dc:date>
    </item>
  </channel>
</rss>

