Blue Prism Product

 View Only
last person joined: 21 hours ago 

This community covers the core Blue Prism RPA product.

  • 1.  Comparing Collections with different number of columns

    Posted 12 days ago

    Hi, 

    I have two collections, coll A and Coll B, CollB has all the columns of coll A and an additional column "Result", Now the problem is I have to compare the collections and find out the unique values from them and write thrm in another collection. 



    ------------------------------
    A S
    ------------------------------


  • 2.  RE: Comparing Collections with different number of columns
    Best Answer

    Posted 12 days ago

    HI As,
     I assume you dont want the other additional  column present in the collection B?
    Multiple ways you can get the values
    1) Merge both the collection ( If you have the same columns) and get unique values 
    2) Loop the collection A and check the collectionB  contain value if it is  True then add the row in the new collection
    3.) Check this thread for Inner Join:
    https://community.blueprism.com/viewdocument/re-comparing-collections?CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&tab=librarydocuments?utm_source=blueprism&utm_medium=pweb&utm_campaign=gl-web-2022-q1-12-3-community-related-discussions
    4) Write Code stage ( C# or vb.net):
    VB.Net:
    INput parameters: I_Collection_BI_Collection_B
    Output  parameters: O_Collection

    O_Collection = I_Collection_A.AsEnumerable().Intersect(I_Collection_B.AsEnumerable(),DataRowComparer.Default).CopyToDataTable()

    In the initailize action  under code option make sure the external references and Name spaces are present:
    External reference:
    System.Core.dll
    System.Data.DataSetExtensions.dll 
    NameSpaces:
    System.Data.DataSetExtensions


    Check some other useful articles 
    https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/comparing-datarows-linq-to-dataset
    https://social.msdn.microsoft.com/Forums/en-US/cb8ef7f7-5e7f-4448-9181-4111942b1a7c/how-to-compare-two-data-tables-and-create-a-new-data-table-based-on-the-compared-results-c?forum=aspwebformsdata
    https://stackoverflow.com/questions/11862113/how-to-compare-2-datatable-and-get-unique-records-in-3rd-datatable
    System.LINQ



    ------------------------------
    -----------------------
    If I answered your query. Please mark it as the "Best Answer"

    Harish M
    Lead developer
    America/New_York TX
    ------------------------------



Welcome to the Blue Prism RPA Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering
Product Research ProgramUpdates, Releases & Announcements

FAQs

Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism RPA can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism RPA can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.