This project is my solution in C# to the Dictionaries & Doubles practice found in section 03 practice 04 of the UiPath - RPA Developer Foundation course.
After making a pull request or downloading the project, open the Main.xaml in UiPath Studio. The robot can be run with the play button in the ribbon and the result can be seen in output panel.
Consider the database of a shipping company containing people and the packages they are sending to certain cities across the world, along with their weight. The database is a Dictionary with the key of String type (the names of the persons) and the values of Dictionary (String/Cities, Double/Weight) type.
Please calculate the overall weight for one city destination. Once this is done, the user should be presented with an input dialog containing the distinct list of cities present in the input data dictionary. If the user chooses no value from the input dialog, print "Nothing chosen by the user"; otherwise you can print "The combined weight of the packages sent to is x.xx" (use double digits).
Note: For input data, download the workflow below, which already has the Dictionary defined.
New Dictionary(Of String, Dictionary(Of String, Double)) From {
{"John C", New Dictionary(Of String, Double) From {{"Madrid",2.1},{"Paris",1.1}} },
{"Sarah C", New Dictionary(Of String, Double) From {{"New York",2.1},{"Paris",3.3},{"Berlin", 0.8}} },
{"Kyle R", New Dictionary(Of String, Double) From {{"San Francisco",2.8},{"New York",1.1}} },
{"Johnny B", New Dictionary(Of String, Double) From {{"New York",2.1},{"Paris",3.3}, {"Cairo",1.3}, {"Chicago",1.9}} }}
Course: UiPath - RPA Developer Foundation
Section: 03 Data Manipulation
Practice: 04 Dictionaries & Doubles
Project Format: Windows, C#
GitHub: https://github.com/ShonHarsh/RPADev-S03P04-Dictionaries-Doubles
04/10/2024 18:43:25 => [Debug] Debug started for file: Main
04/10/2024 18:43:25 => [Info] RPADev-S03P04-Dictionaries-Doubles execution started
04/10/2024 18:43:25 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.Begin;
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.NoSelectionNote; Nothing chosen by the user. Printing all items.
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.NoSelectionPrint; City: Madrid, Total Weight: 2.1
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.NoSelectionPrint; City: Paris, Total Weight: 7.7
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.NoSelectionPrint; City: New York, Total Weight: 5.300000000000001
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.NoSelectionPrint; City: Berlin, Total Weight: 0.8
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.NoSelectionPrint; City: San Francisco, Total Weight: 2.8
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.NoSelectionPrint; City: Cairo, Total Weight: 1.3
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.NoSelectionPrint; City: Chicago, Total Weight: 1.9
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles.Main.End;
04/10/2024 18:43:27 => [Info] RPADev-S03P04-Dictionaries-Doubles execution ended in: 00:00:02
A standard UiPath, Studio to Orchestrator cloud setup is the base of operation. It is easy to setup and free.
- An Orchestrator connection - Visit https://cloud.uipath.com/ and authenticate or sign up.
- UiPath Studio is used to run the robot. Note that Studio Web can be used directly in Orchestrator but I recommend installing the Studio IDE application.
Clone the project to develop or change it.
git clone https://github.com/ShonHarsh/RPADev-S03P04-Dictionaries-Doubles
- UiPath Automation Platform
- UiPath Studio
- Pulsar (Atom Successor) - Used for all my README.md files
- Shon Harsh Website 127.0.0.1
- This.GitHub
-
Get Started With RPA Development
-
Variables, Data Types And Control Flow In Studio
P01 RPADev-S02P01-ForEachIfStatement [C#] [VB] [Windows Legacy]
P02 RPADev-S02P02-GenericValue [C#] [VB] [Windows Legacy]
P03 RPADev-S02P03-Switch [C#] [VB] [Windows Legacy]
-
Data Manipulation In Studio
P01 RPADev-S03P01-Lists [C#] [VB] [Windows Legacy]
P02 RPADev-S03P03-Dictionaries-Integers [C#] [VB] [Windows Legacy]
P03 RPADev-S03P04-Dictionaries-Doubles [C#] [VB] [Windows Legacy]
P04 RPADev-S03P05-InputValidation [C#] [VB] [Windows Legacy]
P05 RPADev-S03P06-ReplacingPlaceholders [C#] [VB] [Windows Legacy]
P06 RPADev-S03P07-ExtractEmailAddress [C#] [VB] [Windows Legacy]
P07 RPADev-S03P08-ExtractEmailAddressRegEx [C#] [VB] [Windows Legacy]
-
Excel And Data Tables With Studio
P01 RPADev-S04P01-CalculatingSums [C#] [VB] [Windows Legacy]
P02 RPADev-S04P02-CalculatingLossInvoices [C#] [VB] [Windows Legacy]
P03 RPADev-S04P03-CalculatingPercentagesOfExpenses [C#] [VB] [Windows Legacy]
-
UI Automation With Studio
P01 RPADev-S05P01-PasswordGenerator [C#] [VB] [Windows Legacy]
P02 RPADev-S05P02-TheRPAChallenge [C#] [VB] [Windows Legacy]
P03 RPADev-S05P03-InputActions [C#] [VB] [Windows Legacy]
P04 RPADev-S05P04-OutputActions [C#] [VB] [Windows Legacy]
P05 RPADev-S05P05-DataScraping [C#] [VB] [Windows Legacy]
-
Selectors In Studio
P01 RPADev-S06P01-GetAndSortData [C#] [VB] [Windows Legacy]
P02 RPADev-S06P02-SetData [C#] [VB] [Windows Legacy]
P03 RPADev-S06P03-Highlight-TypeItems [C#] [VB] [Windows Legacy]
-
Project Organization In Studio
P02 RPADev-S07P02-StateMachines [C#] [VB] [Windows Legacy]
P03 RPADev-S07P03-FixMyWorkflow [C#] [VB] [Windows Legacy]
P04 RPADev-S07P04-Libraries
-
Error And Exception Handling In Studio
-
Debugging In Studio
-
PDF Automation In Studio
-
Email Automation With Studio
-
Orchestrator For RPA Developers
-
Robotic Enterprise Framework Overview