<?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: How to add values to collection in Object studio in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52342#M7238</link>
    <description>Thank a lot for your Prompt response Pablo Sarabia,.will try this out.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Roshini Syed&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 19 May 2022 13:43:00 GMT</pubDate>
    <dc:creator>RoshiniSyed</dc:creator>
    <dc:date>2022-05-19T13:43:00Z</dc:date>
    <item>
      <title>How to add values to collection in Object studio</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52340#M7236</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have multiple read stages in my Object studio and I would like to add the data returned from&amp;nbsp; each read stage into&amp;nbsp; a collection (consecutive rows).&lt;BR /&gt;&lt;BR /&gt;Anyone throws some light on how that can be done?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Roshini Syed&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 12:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52340#M7236</guid>
      <dc:creator>RoshiniSyed</dc:creator>
      <dc:date>2022-05-19T12:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to add values to collection in Object studio</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52341#M7237</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="0e0590b7-6e9d-42ba-ab98-5ece34748e4d" data-tag-text="@Roshini Syed" href="https://community.blueprism.com/network/profile?UserKey=0e0590b7-6e9d-42ba-ab98-5ece34748e4d" data-itemmentionkey="0851e398-70ae-4c3b-a1e9-e804970aef6c"&gt;@Roshini Syed&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you want to add one line in a collection for each value readed with your read stage, you should make something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25996.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26128i7E776A3150849508/image-size/large?v=v2&amp;amp;px=999" role="button" title="25996.png" alt="25996.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;You can simplify the read part by adding elements to read in the same Read Stage. When you have all the data, use the Action "Add Row" from the internal VBO Collections to add new lines to your collection. Then use a Calculation Stage to insert the value.&lt;BR /&gt;&lt;BR /&gt;You will get this as result:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25997.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26129iFC2FC23759CC3DC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="25997.png" alt="25997.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Is this what are you looking for?&lt;BR /&gt;&lt;BR /&gt;Is a little bit &lt;SPAN&gt;weird this way... If you bring us more info we can give you a better solution I think. (Like... adding a loop to write in the collection easily or similar)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See you in the Community, bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Solution Manager &amp;amp; Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 13:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52341#M7237</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-05-19T13:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to add values to collection in Object studio</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52342#M7238</link>
      <description>Thank a lot for your Prompt response Pablo Sarabia,.will try this out.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Roshini Syed&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 13:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52342#M7238</guid>
      <dc:creator>RoshiniSyed</dc:creator>
      <dc:date>2022-05-19T13:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to add values to collection in Object studio</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52343#M7239</link>
      <description>Hi Sarabia,&lt;BR /&gt;Thia is exactly what I am looking for ,but if there is any way to write the data in collection with the loop?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Roshini Syed&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 13:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52343#M7239</guid>
      <dc:creator>RoshiniSyed</dc:creator>
      <dc:date>2022-05-19T13:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to add values to collection in Object studio</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52344#M7240</link>
      <description>You can write directly into the collection if you want. First you make sure the collection has an empty row, then you use the 'Collection.Field' notation as Store In destination.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26002.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26134i5BB37A5FA145F0CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="26002.png" alt="26002.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2022 14:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52344#M7240</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2022-05-19T14:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to add values to collection in Object studio</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52345#M7241</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-tag-text="@John Carter" href="https://community.blueprism.com/network/profile?UserKey=bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-itemmentionkey="e12b0fd9-8d1b-4cd5-91c7-f62486366803"&gt;@John Carter&lt;/A&gt; yeah! Your version looks more clean. I totally miss that you can write directly with the Read Stage instead of ​storing it in a Data Item.&lt;BR /&gt;&lt;BR /&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="0e0590b7-6e9d-42ba-ab98-5ece34748e4d" data-tag-text="@Roshini Syed" href="https://community.blueprism.com/network/profile?UserKey=0e0590b7-6e9d-42ba-ab98-5ece34748e4d" data-itemmentionkey="145cf878-c1ad-449c-9794-337929223bf4"&gt;@Roshini Syed&lt;/A&gt; I think is hard to implement a loop here. As you see, exists different fields in the screen that you want to read. The only way I can think of is trying to search a method to implement a Dynamic Attribute in the Application modeller, for example, the field's path. Then, have all the paths in a collection, and looping through this collection changing the Dynamic Attribute and Reading and Writing the values.&lt;BR /&gt;&lt;BR /&gt;But this way looks long and hard to maintenance if something change, I don't know &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Hope this helps you!!&lt;BR /&gt;&lt;BR /&gt;See you in the Community, bye :)​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Solution Manager &amp;amp; Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 14:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-add-values-to-collection-in-Object-studio/m-p/52345#M7241</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-05-20T14:05:00Z</dc:date>
    </item>
  </channel>
</rss>

