MarketplaceListingsCustom ActivityMongoDB - Collection Data to DataTable

MongoDB - Collection Data to DataTable

Bronze Certified

Custom Activity

0 reviews

3

MongoDB - Collection Data to DataTable

Bronze Certified

Custom Activity

0 reviews

3


Summary

Gets Data from a Specified Collection and Database in MongoDB and outputs the result as DataTable.

Overview

This activity connects to MongoDB Server as per the Connection String supplied, gets the data from a specified Collection and Database and provides the Output in DataTable Type.

Input Parameters:
· in_MongoDBConnectionString - Input your MongoDB Connection String - [DataType: string]
(Example if localhost, connection string : "mongodb://localhost")
· in_DataBaseName - Input your Database Name -[DataType: string]
· in_CollectionName - Input your Collection(or Table) Name - [DataType: string]

Output:
· Pass/Create DataTable variable/argument which will store the Collection Data.

Applications Used While Testing Activity:
  • MongoDB Community Server 5.0.2 [Service Configuration :Network Service User ] - link
  • UiPath Studio 2021.10.3 Community

Benefits

The intention behind this activity is retrieving data from a specified Collection and Database in MongoDB as a DataTable output so that this DataTable can be further used for operations like :
- Data Filtering
- Writing Collection Data to Excel/CSV/etc.
- DataTable can be pushed to another Database/Dataset/Queues/etc.
and many more use cases as per business scenario.

Published: 25 Nov 2021 | Updated: 16 Nov 2021

binamra barik
RPA Developer

License

MIT


Code Language

C#, Visual Basic


Runtime

Windows Legacy (.Net Framework 4.6.1)


Tags

Collection
datatable
mongo
database

Compatibility

Studio: 2021.10.3+


Dependencies

MongoDB.Driver = 2.13.2 mongocsharpdriver = 2.13.2


Similar Listings