<?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 Working with Blueprim's collections in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100981#M48099</link>
    <description>&lt;P&gt;I have two collections, One collection contains information as follows.&lt;/P&gt;
&lt;P&gt;Collection 1 includes following details, It has only one row. &lt;BR /&gt;|NAME|AGE|CITY| &lt;BR /&gt;|:----|:---:|:----| &lt;BR /&gt;|AA | 20|NEW |&lt;/P&gt;
&lt;P&gt;Collection 2 includes following details, it has multiple rows but only two columns. &lt;BR /&gt;|NAME OF COLUMN|NEW COLUMN| &lt;BR /&gt;|:--------------|:----------| |&lt;BR /&gt;NAME |FIRST NAME|&lt;BR /&gt;|AGE |YEARS| &lt;BR /&gt;|CITY |PLACE|&lt;/P&gt;
&lt;P&gt;I am running a loop with the collection 2. I need the Blueprism to select the value in first cell of the collection 1.&lt;/P&gt;
&lt;P&gt;Normally if I want to select value in the first cell of the collection 1 I type following expression in Blueprim.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[Collection 1.NAME]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But this time I want the Collection 1 field 1 as the first value of the collection 2.&lt;/P&gt;
&lt;P&gt;I tried following.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;CODE&gt;[Collection 1.[Collection 2.NAME OF COLUMN]]&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;This produces a Syntax error. The token "]" is invalid.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;I set the value from Collection 2 to a new variable (data item) SAY "columnName"&lt;/P&gt;
&lt;P&gt;[Collection 1.[columnName]] &lt;BR /&gt;This produces a Syntax error. The token "]" is invalid.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Since I am running this in a loop, every time the loop runs the field name automatically changes, that my goal&lt;/P&gt;
&lt;P&gt;How to do this....?&lt;/P&gt;</description>
    <pubDate>Sat, 03 Apr 2021 05:05:31 GMT</pubDate>
    <dc:creator>RubananthBalas1</dc:creator>
    <dc:date>2021-04-03T05:05:31Z</dc:date>
    <item>
      <title>Working with Blueprim's collections</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100981#M48099</link>
      <description>&lt;P&gt;I have two collections, One collection contains information as follows.&lt;/P&gt;
&lt;P&gt;Collection 1 includes following details, It has only one row. &lt;BR /&gt;|NAME|AGE|CITY| &lt;BR /&gt;|:----|:---:|:----| &lt;BR /&gt;|AA | 20|NEW |&lt;/P&gt;
&lt;P&gt;Collection 2 includes following details, it has multiple rows but only two columns. &lt;BR /&gt;|NAME OF COLUMN|NEW COLUMN| &lt;BR /&gt;|:--------------|:----------| |&lt;BR /&gt;NAME |FIRST NAME|&lt;BR /&gt;|AGE |YEARS| &lt;BR /&gt;|CITY |PLACE|&lt;/P&gt;
&lt;P&gt;I am running a loop with the collection 2. I need the Blueprism to select the value in first cell of the collection 1.&lt;/P&gt;
&lt;P&gt;Normally if I want to select value in the first cell of the collection 1 I type following expression in Blueprim.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[Collection 1.NAME]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But this time I want the Collection 1 field 1 as the first value of the collection 2.&lt;/P&gt;
&lt;P&gt;I tried following.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;CODE&gt;[Collection 1.[Collection 2.NAME OF COLUMN]]&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;This produces a Syntax error. The token "]" is invalid.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;I set the value from Collection 2 to a new variable (data item) SAY "columnName"&lt;/P&gt;
&lt;P&gt;[Collection 1.[columnName]] &lt;BR /&gt;This produces a Syntax error. The token "]" is invalid.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Since I am running this in a loop, every time the loop runs the field name automatically changes, that my goal&lt;/P&gt;
&lt;P&gt;How to do this....?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Apr 2021 05:05:31 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100981#M48099</guid>
      <dc:creator>RubananthBalas1</dc:creator>
      <dc:date>2021-04-03T05:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Blueprim's collections</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100982#M48100</link>
      <description>Hi Rubananth,&lt;BR /&gt;&lt;BR /&gt;I tried like your goal before. But, I could not make it.&lt;BR /&gt;I asked Blue Prism support how to make it, but they said impossible that automatically change field name in the Blue Prism collection.&lt;BR /&gt;&lt;BR /&gt;I understood it is impossible because if collection field name (column name) change automatically, we have no way to get field data.&lt;BR /&gt;(Blue Prism must be specified column name to get field data.)</description>
      <pubDate>Tue, 06 Apr 2021 07:19:52 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100982#M48100</guid>
      <dc:creator>ykoike</dc:creator>
      <dc:date>2021-04-06T07:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Blueprim's collections</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100983#M48101</link>
      <description>Hi Rubananth,&lt;BR /&gt;&lt;BR /&gt;I think what this error is saying is that the second set of parenthesis are not required. You can simply use [Collection 1.Column Name] for collection 1 and if you are using a decision to compare the values [Collection 1.Column Name] = [Collection 2.Column Name].&lt;BR /&gt;&lt;BR /&gt;If you are looking to write the value from collection 1 into collection 2, then use a calculation stage. The formula to be [Collection 1.Column Name] and then in the result box, use Collection 2.Column Name without paraenthesis.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Ben</description>
      <pubDate>Tue, 06 Apr 2021 09:22:13 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100983#M48101</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2021-04-06T09:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Blueprim's collections</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100984#M48102</link>
      <description>To get more clarity on what exactly you want to achieve can you answer few things?&lt;BR /&gt;&lt;BR /&gt;Do you want to replace Coll1 Field Name from Coll2? Like Replace Name with First Name, Replace Age with Years, Replace City with Place?&lt;BR /&gt;&lt;BR /&gt;So as output you want this type of collection? Is this right understanding?&lt;BR /&gt;&lt;BR /&gt;Expected Output=&lt;BR /&gt;&lt;SPAN&gt;|FIRST NAME|YEARS|PLACE|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|:----|:---:|:----|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|AA | 20|NEW |&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Is this what you want to achieve?&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2021 07:22:42 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100984#M48102</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2021-04-07T07:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Working with Blueprim's collections</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100985#M48103</link>
      <description>The Read Collection Field action in the Utility - Collection Manipulation object should be able to accomplish what you are trying to do. It will allow you to specify a dynamic field name to read from.</description>
      <pubDate>Wed, 07 Apr 2021 14:22:18 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Blueprim-s-collections/m-p/100985#M48103</guid>
      <dc:creator>NicholasZejdlik</dc:creator>
      <dc:date>2021-04-07T14:22:18Z</dc:date>
    </item>
  </channel>
</rss>

