<?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: Facing a weird issue with collection in 7.3.1 in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116121#M52102</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/60726"&gt;@teja1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2590"&gt;@david.l.morris&lt;/a&gt;&amp;nbsp; rightly said this is an issue (if it's an issue) since always in Blue Prism (faced in v6.3, v6.6, v7.1)&lt;/P&gt;&lt;P&gt;You can always fetch the 1st row value using a calculation stage at the beginning of a loop as the collection notation shows Row # of #&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swapnadeep_deb_0-1728312119503.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39537i450280EC1B6EA98E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="swapnadeep_deb_0-1728312119503.png" alt="swapnadeep_deb_0-1728312119503.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swapnadeep_deb_1-1728312192385.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39538iDB757CB43E6F6293/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="swapnadeep_deb_1-1728312192385.png" alt="swapnadeep_deb_1-1728312192385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once you end the loop and the collection notation changes to # rows , if you try fetch the value it throw the same error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swapnadeep_deb_4-1728312783418.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39541i81066FFC369B9E4E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="swapnadeep_deb_4-1728312783418.png" alt="swapnadeep_deb_4-1728312783418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fix I found because of the similar issue as yours is to use the &lt;STRONG&gt;Remove empty rows&lt;/STRONG&gt; action as a 1st thing at the end of the loop. This &lt;STRONG&gt;resets the collection&lt;/STRONG&gt; notation back to Row # of # and you can continue with your thing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swapnadeep_deb_3-1728312643756.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39540i66943CC2364431DC/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="swapnadeep_deb_3-1728312643756.png" alt="swapnadeep_deb_3-1728312643756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I guess BP needs to come up with a Reset Collection Status action !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2024 14:55:26 GMT</pubDate>
    <dc:creator>swapnadeep_deb</dc:creator>
    <dc:date>2024-10-07T14:55:26Z</dc:date>
    <item>
      <title>Facing a weird issue with collection in 7.3.1</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116078#M52094</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I'm facing a weird issue when extracting a field value from a collection using simple dot notation.&lt;/P&gt;&lt;P&gt;See the snaps below. The collection has data and values, but in the calc stage, all the fields are showing empty values. If I run then it also throws error.&lt;/P&gt;&lt;P&gt;To note this is outside the loop. Post loop completion I'm using a calc stage to grab a value. If I perform the same before the loop, calc stage works fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tejaskumar_Darji_1-1728056824578.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39525i699E82261F7427FC/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Tejaskumar_Darji_1-1728056824578.png" alt="Tejaskumar_Darji_1-1728056824578.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In Collection I can see value&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tejaskumar_Darji_2-1728056861896.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39526iBC5C529046075F3B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Tejaskumar_Darji_2-1728056861896.png" alt="Tejaskumar_Darji_2-1728056861896.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tejaskumar_Darji_0-1728056722531.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39524iA9D71C2B70B596E8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Tejaskumar_Darji_0-1728056722531.png" alt="Tejaskumar_Darji_0-1728056722531.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tejaskumar_Darji_3-1728057000704.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39527i08DA2C46DFF55EEF/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Tejaskumar_Darji_3-1728057000704.png" alt="Tejaskumar_Darji_3-1728057000704.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 15:52:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116078#M52094</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2024-10-04T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Facing a weird issue with collection in 7.3.1</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116080#M52095</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2159"&gt;@Tejaskumar_Darji&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Anytime a collection says "# Row" or "# Rows", you can't use an expression to reference a field in it because no row is selected. The reason it works before the loop is that by default Row 1 is selected. If you only have one row, then it can lead you to think something is wrong here when you try to use a calc after the loop, but it's always functioned like this I think. I tested it in 7.3.1 and 6.10.1 just to make sure I'm not crazy, and I see the same behavior in both. I get an error in the calc stage after the loop saying the collection has no current row.&lt;BR /&gt;&lt;BR /&gt;As for the other issue you mentioned where the calc stage appears to be empty, did you try setting the value into a data item? I am guessing it shows empty for you where it says Temporary Values because that's just what it does if you don't have a current row selected, such as once you leave the loop. I tested this in 7.3.1, and during the loop for me it gets the value.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidlmorris_0-1728066917663.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39528i73FDC0129864BFC6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="davidlmorris_0-1728066917663.png" alt="davidlmorris_0-1728066917663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 18:36:24 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116080#M52095</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2024-10-04T18:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Facing a weird issue with collection in 7.3.1</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116105#M52097</link>
      <description>&lt;P&gt;Yes, the collection and field I'm referring to have data. I understand the # row notation but once loop is completed shouldn't it return to the default behaviour as it was before the loop?&lt;/P&gt;&lt;P&gt;I have a master collection from that I'm taking a coll field to a local collection, now if I copy the same collection to 2 different collections and loop only on one of them still it shows # Row in all collections.&lt;/P&gt;&lt;P&gt;Try to take another parent collection and then save your Data collection on this page. Now take Data1, Data2, Data3 and populate it using 3 calc stages. After that run loop on Data1 and notice the # Row label on all Data2 and Data3.&lt;/P&gt;&lt;P&gt;Post loop completion all 3 will go into the same issue even though all 3 are individual collection.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 08:53:07 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116105#M52097</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2024-10-07T08:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Facing a weird issue with collection in 7.3.1</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116121#M52102</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/60726"&gt;@teja1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2590"&gt;@david.l.morris&lt;/a&gt;&amp;nbsp; rightly said this is an issue (if it's an issue) since always in Blue Prism (faced in v6.3, v6.6, v7.1)&lt;/P&gt;&lt;P&gt;You can always fetch the 1st row value using a calculation stage at the beginning of a loop as the collection notation shows Row # of #&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swapnadeep_deb_0-1728312119503.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39537i450280EC1B6EA98E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="swapnadeep_deb_0-1728312119503.png" alt="swapnadeep_deb_0-1728312119503.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swapnadeep_deb_1-1728312192385.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39538iDB757CB43E6F6293/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="swapnadeep_deb_1-1728312192385.png" alt="swapnadeep_deb_1-1728312192385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once you end the loop and the collection notation changes to # rows , if you try fetch the value it throw the same error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swapnadeep_deb_4-1728312783418.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39541i81066FFC369B9E4E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="swapnadeep_deb_4-1728312783418.png" alt="swapnadeep_deb_4-1728312783418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fix I found because of the similar issue as yours is to use the &lt;STRONG&gt;Remove empty rows&lt;/STRONG&gt; action as a 1st thing at the end of the loop. This &lt;STRONG&gt;resets the collection&lt;/STRONG&gt; notation back to Row # of # and you can continue with your thing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swapnadeep_deb_3-1728312643756.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39540i66943CC2364431DC/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="swapnadeep_deb_3-1728312643756.png" alt="swapnadeep_deb_3-1728312643756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I guess BP needs to come up with a Reset Collection Status action !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 14:55:26 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Facing-a-weird-issue-with-collection-in-7-3-1/m-p/116121#M52102</guid>
      <dc:creator>swapnadeep_deb</dc:creator>
      <dc:date>2024-10-07T14:55:26Z</dc:date>
    </item>
  </channel>
</rss>

