Blue Prism Product

 View Only
last person joined: 10 hours ago 

This community covers the core Blue Prism RPA product.

  • 1.  Pushing CSV file data into Elastic Search

    Posted 11-21-2023 15:18

    Hi Everyone,

    I have a requirement where I need to push/load CSV data file into Elastic Search,

    Im Getting error in code stage as : Missing compiler required member Microsoft.Csharp.RuntimeBinder.CsharpArguementInfo.Create.

    But I have Added all dll's required.

    If anyone have idea on this, Kindly help in this, in the below I have attached the code.

    These are the used namespace:

    CsvHelper;
    ElasticSearch;
    Elastic.Clients.Elasticsearch;
    System;
    System.Collections.Generic;
    System.IO;
    System.Linq;
    System.Text;
    System.Threading.Tasks;
    Elastic.Transport;
    System.Net.Mime.MediaTypeNames;

    This is the C# Code: 

    try
                {
                    // Create the Elasticsearch client.
                    var settings = new ElasticsearchClientSettings(new Uri("http://172.25.105.36:9200"))
                        .Authentication(new BasicAuthentication("elastic", "Infy@123"))
                        .DefaultIndex("qualys-test-2");

                     // Set your default index name here

                    var client = new ElasticsearchClient(settings);

                    // Open the CSV file.DefaultIndex().'

                    using (var reader = new StreamReader(@"C:\Users\SoumyaBalayyakalal\Downloads\Qualys NC_20230901 (1).csv"))
                    using (var csv = new CsvReader(reader, new CsvHelper.Configuration.CsvConfiguration(System.Globalization.CultureInfo.InvariantCulture)))
                    {
                        var records = csv.GetRecords<dynamic>();

                        // Iterate over the CSV records and push them to Elasticsearch.
                        foreach (var record in records)
                        {
                var jsonString = Newtonsoft.Json.JsonConvert.SerializeObject(record);
                var indexResponse = client.Index(jsonString);
                            //var indexResponse = client.Index(record);

                            //var indexResponse = await client.IndexAsync(record, "qualys-test-2");
                //var indexResponse = Task.Run(() => client.Index(record, "qualys-test-2")).Result;
                            if (!indexResponse.IsValid)
                            {
                                Console.WriteLine(indexResponse);
                            }
                        }
                    }
                }
                catch (Exception e)
                {
                    Console.WriteLine(e.Message);
                }

    Thanks,------------------------------
    Soumya k RPA Developer
    RPA Developer
    Qualesce India Private Limited
    Bangalore
    ------------------------------



  • 2.  RE: Pushing CSV file data into Elastic Search

    Posted 11-26-2023 20:05

    Hello.

    Check if the dll corresponds to the x86 or x64 operating system platform, I already had a similar problem and in this case this was it.

    Regards,



    ------------------------------
    Leonardo Soares
    RPA Developer Tech Leader
    Bridge Consulting
    América/Brazil
    ------------------------------



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 Programv6 End of Life

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.