<?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: Updating an element in a Collection - getting &amp;quot;Can't access collection - out of scope in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Updating-an-element-in-a-Collection-getting-quot-Can-t-access/m-p/98810#M46484</link>
    <description>&lt;P&gt;Thanks Michael, I also needed to not have any quotes&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 13:57:57 GMT</pubDate>
    <dc:creator>Ian_At_RoyalSurrey</dc:creator>
    <dc:date>2023-11-29T13:57:57Z</dc:date>
    <item>
      <title>Updating an element in a Collection - getting "Can't access collection - out of scope</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Updating-an-element-in-a-Collection-getting-quot-Can-t-access/m-p/98808#M46482</link>
      <description>&lt;P&gt;Afternoon everyone&lt;/P&gt;
&lt;P&gt;I think I may be missing something obvious here, but I am in a loop working through a [Patients] collection and need to change an element/item in that collection to show what new info has been found.&lt;/P&gt;
&lt;P&gt;I have checked that the field exists, and it does:&lt;span class="lia-inline-image-display-wrapper" image-alt="35955.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35967i75CEC23FA89BF17C/image-size/large?v=v2&amp;amp;px=999" role="button" title="35955.png" alt="35955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;I have also read the contents (original status) and build a new data item for what will be (Current Status)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35956.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35966i9541616F056349F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="35956.png" alt="35956.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;But when I try the 3rd step above, I get&amp;nbsp; this error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35957.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35969i49CA9616D940A9E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="35957.png" alt="35957.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Things I have checked so far:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;I have given the collection a new name so that it is unique within the process i.e. not [Data]&lt;/LI&gt;
&lt;LI&gt;I have made the collection visible across all of the pages&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35958.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35970iAE43698F2165585F/image-size/large?v=v2&amp;amp;px=999" role="button" title="35958.png" alt="35958.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Saving and closing Blue Prism to have a fresh, clean instance when stepping through the automation&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I think it may be that it doesn't like doing Collection manipulation at the Process Studio level - I have found this to be the case with some of the EXCEL VBOs that only work properly when run at the biz object level. But I really want to avoid having to build an object just to run another object.&lt;/P&gt;
&lt;P&gt;What else can I try and what have a missed/forgotten to do?&lt;/P&gt;
&lt;P&gt;Many thx&lt;/P&gt;
&lt;P&gt;Ian&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:04:01 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Updating-an-element-in-a-Collection-getting-quot-Can-t-access/m-p/98808#M46482</guid>
      <dc:creator>Ian_At_RoyalSurrey</dc:creator>
      <dc:date>2023-11-29T13:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an element in a Collection - getting "Can't access collection - out of scope</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Updating-an-element-in-a-Collection-getting-quot-Can-t-access/m-p/98809#M46483</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/23046"&gt;@Ian_At_RoyalSurrey&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Don't put square brackets in the "Store In" column. The multi-calc can only store data into a Data Item or Collection so it doesn't need the square brackets to distinguish it as so.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:52:38 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Updating-an-element-in-a-Collection-getting-quot-Can-t-access/m-p/98809#M46483</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2023-11-29T13:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an element in a Collection - getting "Can't access collection - out of scope</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Updating-an-element-in-a-Collection-getting-quot-Can-t-access/m-p/98810#M46484</link>
      <description>&lt;P&gt;Thanks Michael, I also needed to not have any quotes&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:57:57 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Updating-an-element-in-a-Collection-getting-quot-Can-t-access/m-p/98810#M46484</guid>
      <dc:creator>Ian_At_RoyalSurrey</dc:creator>
      <dc:date>2023-11-29T13:57:57Z</dc:date>
    </item>
  </channel>
</rss>

