<?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: Collection matching/comparing without header in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88311#M38886</link>
    <description>Thank you Devneet, I was thinking along these lines.&amp;nbsp; I did have trouble joining the header collection to collection 2.&amp;nbsp; But I will work on it some more.&lt;BR /&gt;&lt;BR /&gt;Also I heard you talk in the Blue Prism communication member appreciation day today.&amp;nbsp; Congrats on your award today.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stanford M&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Apr 2022 13:27:00 GMT</pubDate>
    <dc:creator>StanfordM</dc:creator>
    <dc:date>2022-04-21T13:27:00Z</dc:date>
    <item>
      <title>Collection matching/comparing without header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88307#M38882</link>
      <description>&lt;P&gt;I am currently learning Blue Prism.&amp;nbsp; I am trying to find the best way to take the data from one system [Collection 1] match it to data from another system [Collection 2], and when there is a match load the matching row to a third collection to export it into a csv or xlsx file.&amp;nbsp; One issue that I have is that collection 2 file does not have a header row.&amp;nbsp; So matching email address from collection 1 to the email address from collection 2 is proving to be a challenge.&amp;nbsp; How would you all handle this scenario?&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stanford Moore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2022 16:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88307#M38882</guid>
      <dc:creator>StanfordM</dc:creator>
      <dc:date>2022-04-20T16:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: Collection matching/comparing without header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88308#M38883</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="dc3bac41-36e2-47f8-9c1d-5a1d89afc7d8" data-tag-text="@Stanford Moore" href="https://community.blueprism.com/network/profile?UserKey=dc3bac41-36e2-47f8-9c1d-5a1d89afc7d8" data-itemmentionkey="6b8b6e9b-6500-4d64-a076-9b264935925e"&gt;@Stanford Moore&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Everything is possible here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For join the collections, you can use some Linq code, with a Code Stage in a VBO to perform this.&lt;BR /&gt;&lt;BR /&gt;Here you have some links that can helps you:&lt;BR /&gt;&lt;BR /&gt;- How to add Linq to VBO (dll and namespaces references) &lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&amp;amp;MessageKey=a17f8fde-0053-4826-b9ee-947056db8cda&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01" target="_blank" rel="noopener"&gt;use LINQ to collection&lt;/A&gt;&lt;BR /&gt;- This one for the Syntax of Linq: &lt;A href="https://www.codeproject.com/Questions/1067490/Csharp-Linq-join-two-DataTables" target="_blank" rel="noopener"&gt;https://www.codeproject.com/Questions/1067490/Csharp-Linq-join-two-DataTables&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For write the result in a CSV file, you must to use this actions:&lt;BR /&gt;&lt;BR /&gt;1- From the Object "Utility - Strings", use the action "Get Collection as CSV", its returns you all the text.&lt;BR /&gt;2.- Then write all the text in a file using the Object "Utility - File Management", action "Write Text File".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you!&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;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2022 18:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88308#M38883</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-04-20T18:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Collection matching/comparing without header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88309#M38884</link>
      <description>Thanks for the information.&amp;nbsp; I am not sure if I am joining tables, unless I need to join with another collection/table in order to assign headers to [collection 2].&lt;BR /&gt;&lt;BR /&gt;This is more what I am trying to accomplish.&lt;BR /&gt;&lt;BR /&gt;Collection 1&lt;BR /&gt;Email1&lt;BR /&gt;Email3&lt;BR /&gt;Email4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Collection 2&lt;BR /&gt;--------&lt;BR /&gt;EmpName Grade&amp;nbsp; &amp;nbsp;Email&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Certification &amp;lt;---- Added headers just to show, but file does not contain headers.&lt;BR /&gt;Name1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Email1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Certification1&lt;BR /&gt;Name2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Email2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Certification2&lt;BR /&gt;Name3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Email3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Certification3&lt;BR /&gt;Name4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Email4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Certification4&lt;BR /&gt;Name5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Email5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Certification5&lt;BR /&gt;&lt;BR /&gt;Expected Output: (email address matches the email column in collection 2, then writes complete row to collection 3.&amp;nbsp; Hard to match because collection 2 file does not have header row)&lt;BR /&gt;----------------&lt;BR /&gt;EmpName Grade&amp;nbsp; &amp;nbsp; Email&amp;nbsp; &amp;nbsp; &amp;nbsp;Certification&lt;BR /&gt;Name1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Email1&amp;nbsp; &amp;nbsp;Certification1&lt;BR /&gt;Name3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Email3&amp;nbsp; &amp;nbsp;Certification3&lt;BR /&gt;Name4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Email4&amp;nbsp; &amp;nbsp;Certification4&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stanford Moore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2022 20:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88309#M38884</guid>
      <dc:creator>StanfordM</dc:creator>
      <dc:date>2022-04-20T20:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: Collection matching/comparing without header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88310#M38885</link>
      <description>Hi Stan,&lt;BR /&gt;&lt;BR /&gt;For this scenario, if you are sure that the number of columns are always same in the second collection then I would suggest go ahead and create a define collection with a schema consisting of all the columns like EmpName, Grade and so on.&lt;BR /&gt;&lt;BR /&gt;You can then add all the rows from the second collection to this defined collection which can give you a collection with headers and values from the collection without any headers. Then you can simply loop over the second collection and use a filter collection action on the 'Email' column from first collection with the current email value of second collection and get an output with the same data being reflected. Store this output as a collection with name 'Rows Matching From First Coll'. &lt;BR /&gt;&lt;BR /&gt;Now do the the same check by looping over first and use a filter collection action on the 'Email' column from second collection with the current email value of first collection and get an output with the same data being reflected. collection. Store this output as a collection with name 'Rows Matching From Second Coll'.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;At the end just append both the output collection you received into a Final Collection. That is how you can do it easily&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2022 06:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88310#M38885</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-04-21T06:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Collection matching/comparing without header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88311#M38886</link>
      <description>Thank you Devneet, I was thinking along these lines.&amp;nbsp; I did have trouble joining the header collection to collection 2.&amp;nbsp; But I will work on it some more.&lt;BR /&gt;&lt;BR /&gt;Also I heard you talk in the Blue Prism communication member appreciation day today.&amp;nbsp; Congrats on your award today.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stanford M&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2022 13:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88311#M38886</guid>
      <dc:creator>StanfordM</dc:creator>
      <dc:date>2022-04-21T13:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Collection matching/comparing without header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88312#M38887</link>
      <description>Devneet,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What would be the best action to use to write(add) the collection without headers to the header collection?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stanford M&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2022 17:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88312#M38887</guid>
      <dc:creator>StanfordM</dc:creator>
      <dc:date>2022-04-21T17:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Collection matching/comparing without header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88313#M38888</link>
      <description>Hey Stanford,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your wishes &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; It means a lot.&lt;BR /&gt;&lt;BR /&gt;Coming to your question, when you say a collection without headers what you mean exactly like there are arbitrary column names Column1, Column2 and so on since every collection must have some header when it lies inside Blue Prism. If this is what you mean, then first I would suggest rename the headers where you can map the column names to a header collection by using '&lt;STRONG&gt;Set Column Names From Expected Collection&lt;/STRONG&gt;' or '&lt;STRONG&gt;Rename Collection Fields&lt;/STRONG&gt;' and then use the '&lt;STRONG&gt;Append Rows To Collection&lt;/STRONG&gt;' action. We are renaming the column names as we have need to have similar schemas between two collection which needs to be appended.&lt;BR /&gt;&lt;BR /&gt;Otherwise, you will have to loop through one collection and use '&lt;STRONG&gt;Add Row&lt;/STRONG&gt;' action with the output collection and set the current cell values which is the traditional approach.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2022 17:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-matching-comparing-without-header/m-p/88313#M38888</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-04-21T17:28:00Z</dc:date>
    </item>
  </channel>
</rss>

