<?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 RE: Is there a method to get a field in a collection by index without using Loop? in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54006#M886</link>
    <description>Hi Manas,&lt;BR /&gt;&lt;BR /&gt;Thank you for using Blue Prism and for being a SSC Blue Prism customer.&lt;BR /&gt;&lt;BR /&gt;It sounds like what you require is the ability to address the rows/columns of a collection as a grid? Would that be a fair statement?&lt;BR /&gt;&lt;BR /&gt;If so, you may need to consider using a code stage to read the collection data into a 2-dimensional array and process the data this way. Alternatively, you may be able to create a class that matches the signature of your collection row and create a generic list using that class.&lt;BR /&gt;&lt;BR /&gt;I am interested to understand why you are unable to use a loop, given that collections are usually aimed at being processed inside of loop constructs. &lt;BR /&gt;&lt;BR /&gt;Please come back to us if you are unable to resolve your problem or need further assistance.&lt;BR /&gt;&lt;BR /&gt;Once again, thank you for being a SSC Blue Prism customer and for using Blue Prism.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Geoff Hirst&lt;BR /&gt;Senior DX Engineer - Digital Exchange - EMEA&lt;BR /&gt;SS&amp;amp;C Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Aug 2022 12:34:00 GMT</pubDate>
    <dc:creator>GeoffHirst</dc:creator>
    <dc:date>2022-08-23T12:34:00Z</dc:date>
    <item>
      <title>Is there a method to get a field in a collection by index without using Loop?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54001#M881</link>
      <description>&lt;P&gt;I'm new in BluePrism,
I have a collection named ToDate, and it had 1 column named Column1, i want to get the value of the second row, so i try [ToDate.Column1.Row(2)] and it doesn't work,
What can i do?&lt;/P&gt;

--------------------------------------------------&lt;BR /&gt;

&lt;B&gt;Disclaimer:&lt;/B&gt; This content was auto-posted from Stackoverflow. The original Stackoverflow question is here &lt;A href="https://stackoverflow.com/questions/58042648/is-there-a-method-to-get-a-field-in-a-collection-by-index-without-using-loop"&gt;Stackoverflow Post&lt;/A&gt;, posted by &lt;A href="https://stackoverflow.com/users/9457092/medbouk"&gt;Medbouk&lt;/A&gt;.</description>
      <pubDate>Sat, 21 Sep 2019 20:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54001#M881</guid>
      <dc:creator>Digital_WorkerB</dc:creator>
      <dc:date>2019-09-21T20:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a method to get a field in a collection by index without using Loop?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54002#M882</link>
      <description>Hi Medbouk,&lt;BR /&gt;&lt;BR /&gt;Thank you for using Blue Prism.&lt;BR /&gt;&lt;BR /&gt;Please take a look at our Digitial Exchange area (DX), there is a VBO called Utility - Collection Manipulation. This provides a lot of extra functionality for working with collections. You should be able to find it here. &lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-collection-manipulation" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-collection-manipulation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You will need to sign up to the DX if you aren't already a member.&lt;BR /&gt;&lt;BR /&gt;I hope this helps, please come back to the forum if you need anything else.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Geoff Hirst&lt;BR /&gt;Consultant&lt;BR /&gt;Partner Integrations for the Digital Exchange.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Geoff Hirst&lt;BR /&gt;Partner Pre Sales&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 22 Sep 2019 11:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54002#M882</guid>
      <dc:creator>GeoffHirst</dc:creator>
      <dc:date>2019-09-22T11:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a method to get a field in a collection by index without using Loop?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54003#M883</link>
      <description>Try to filter your collection with some criteria and result of it is your value in Row 1 of 1&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;raviteja chintala&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Nov 2020 16:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54003#M883</guid>
      <dc:creator>raviteja0612</dc:creator>
      <dc:date>2020-11-21T16:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a method to get a field in a collection by index without using Loop?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54004#M884</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to make it even more explicit as Geoff wrote you need to use Utility - Collection Manipulation VBO. There is an action &lt;STRONG&gt;Read Collection Field&lt;/STRONG&gt;. You need to enter values for Input and Output (to get the value) tabs. See two screen shots below.&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6830.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7003iE199FADBC399B96B/image-size/large?v=v2&amp;amp;px=999" role="button" title="6830.png" alt="6830.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6831.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7004i9AAF58236DD057EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="6831.png" alt="6831.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;&lt;A href="http://www.neoops.com/" target="test_blank"&gt;http://www.neoops.com/&lt;/A&gt;&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Nov 2020 22:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54004#M884</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2020-11-23T22:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a method to get a field in a collection by index without using Loop?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54005#M885</link>
      <description>What should be done if the row index is variable(i.e there are multiple rows in the collection) ?&lt;BR /&gt;We cannot hardcode the row index value in that case.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manas Karlekar&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2022 12:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54005#M885</guid>
      <dc:creator>ManasKarlekar</dc:creator>
      <dc:date>2022-08-23T12:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a method to get a field in a collection by index without using Loop?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54006#M886</link>
      <description>Hi Manas,&lt;BR /&gt;&lt;BR /&gt;Thank you for using Blue Prism and for being a SSC Blue Prism customer.&lt;BR /&gt;&lt;BR /&gt;It sounds like what you require is the ability to address the rows/columns of a collection as a grid? Would that be a fair statement?&lt;BR /&gt;&lt;BR /&gt;If so, you may need to consider using a code stage to read the collection data into a 2-dimensional array and process the data this way. Alternatively, you may be able to create a class that matches the signature of your collection row and create a generic list using that class.&lt;BR /&gt;&lt;BR /&gt;I am interested to understand why you are unable to use a loop, given that collections are usually aimed at being processed inside of loop constructs. &lt;BR /&gt;&lt;BR /&gt;Please come back to us if you are unable to resolve your problem or need further assistance.&lt;BR /&gt;&lt;BR /&gt;Once again, thank you for being a SSC Blue Prism customer and for using Blue Prism.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Geoff Hirst&lt;BR /&gt;Senior DX Engineer - Digital Exchange - EMEA&lt;BR /&gt;SS&amp;amp;C Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2022 12:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54006#M886</guid>
      <dc:creator>GeoffHirst</dc:creator>
      <dc:date>2022-08-23T12:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Is there a method to get a field in a collection by index without using Loop?</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54007#M887</link>
      <description>Manas,&lt;BR /&gt;&lt;BR /&gt;As an aside from my previous comment, you could use a data item as a number iterator and that could act as your collection index, you can then freely update that using a calculation stage.&lt;BR /&gt;&lt;BR /&gt;Does this help?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Geoff Hirst&lt;BR /&gt;Senior DX Engineer - Digital Exchange - EMEA&lt;BR /&gt;SS&amp;amp;C Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2022 12:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Is-there-a-method-to-get-a-field-in-a-collection-by-index/m-p/54007#M887</guid>
      <dc:creator>GeoffHirst</dc:creator>
      <dc:date>2022-08-23T12:37:00Z</dc:date>
    </item>
  </channel>
</rss>

