UiPath Automation Developer Associate Training Series 2025 - Session 2

DianaGray10 383 views 21 slides Mar 05, 2025
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

In session 2, we will introduce you to Data manipulation in UiPath Studio.

Topics covered:

Data Manipulation

What is Data Manipulation
Strings
Lists
Dictionaries
RegEx Builder
Date and Time

Required Self-Paced Learning for this session:

Data Manipulation with Strings in UiPath Studio (v2022....


Slide Content

The UiPath word mark, logos, and robots are registered trademarks owned by UiPath, Inc. and its affiliates. UiPath (R) is a registered trademark in the United States and several countries across the globe. See TMEP 906. ©2024 UiPath. All rights reserved. UiPath Automation Developer Associate Training Series - Session 2 Data Manipulation with Strings, Collections and Data T ables

Introduction to Data manipulation Data manipulation with Strings Data manipulation with Lists and Dictionaries Data manipulation with Data tables Wrap Up Agenda

Data Manipulation

Process of modifying, structuring, formatting, or sorting data to make it easier to read, use and manage. Key Advantages: Ensures data is structured and stored consistently. Integrates data from various sources and provides consolidated view. Organizes and summarizes data. Transform data to make it compatible for data analysis. Data Manipulation - Introduction Structured / Semi-structured Un-structured Data

Operations for Data Manipulation Common operations for data manipulation are: Retrieving Specify conditions to extract, filter or summarize data Adding Add new data in a data structure Deleting Remove entries from a data structure Modifying Changes the existing entries in a data structure

String Manipulation

String Manipulations String.Concat(Var1, Var2, ...) VarName.Contains(“text”) VarName.IndexOf(“a”) VarName.LastIndexOf(“a”) VarName.Replace(“original”, “replaced”) VarName1.Substring(startIndex, length) String.Format(“{0} is {1}”, VarName1, VarName2) VarName.Split(“|“c)(index) String.Join(“|”, CollVarName1)

More String Manipulation… Regular Expression is a specific search pattern that can be used to easily match, locate and manage text. Creation of RegEx expressions are quite challenging. Used for Input Validation, Data Parsing / Manipulation RegEx Builder simplifies the creation of regular expressions.

String Manipulation Demo

Data Manipulation with Lists and Dictionaries

Collections Data structure that holds multiple items of same or different types. Deal with dynamic data that needs to be stored and manipulated in automation workflows.

Data Manipulation in Lists Build Collection – Creates a collection of items of the same type as the first specified element Append Item to Collection – Appends one or more items at the end of the specific collection. Exists in Collection – Indicates whether a given item is present in the collection or not by giving Boolean output. Merge Collection – Combines the elements of two collections in a new collection or an existing one. Filter Collection – Filters collection based on specified conditions Remove from collection – Removes a specific item from a collection Converts specific collection to a Data Table

Data Manipulation in Dictionary Adding and deleting (key, value) pairs. - VariableName.Add(Key, Value) – Adds item to a dictionary variable - VariableName.Remove(Key) – Removes item from a dictionary variable Retrieving values from Dictionary - VariableName.Item(Key) - Returns the dictionary item of the given key - VariableName.Count – Returns the total number of key, value pairs in the dictionary - VariableName.ContainsKey(Key) – Checks if a given key is present – Boolean Value Re-assigning new values to existing keys.

Data Manipulation with Lists and Dictionaries Demo

Working with DataTables

DataTable is the type of variable that can store data as a simple spreadsheet with rows and columns. You can identify each piece of data based on its unique column and row coordinates. Some common actions with Data tables are: Loop through the data Filter Data Add/Modify Data Sort Data Table

Data Tables Demo

Fun Time!! Quiz Time!!

Week 1 – Self Study Assignments - Data Manipulation with Strings in Studio (v2022.10) 2 modules - 1h 30m https://academy.uipath.com/courses/data-manipulation-with-strings-in-studio - Data Manipulation with Lists and Dictionaries in Studio (v2022.10) 2 modules - 1h https:/academy.uipath.com/courses/data-manipulation-with-lists-and-dictionaries-in-studio - Data Manipulation with Data Tables in Studio (v2022.10) 2 modules - 1h 30m https:/academy.uipath.com/courses/data-manipulation-with-data-tables-in-studio What’s next?

Exercise – Data tables

Thank You !!! Any questions?