Arrays, Lists and Dictionaries in UiPath - Full Tutorial

Опубликовано: 01 Январь 1970
на канале: Anders Jensen
11,093
218

This full video tutorial shows how to use arrays, lists, and dictionaries in UiPath Studio. Then, with simple examples, you learn everything to get started with collections in UiPath.

VIDEOS FOR YOU:
🔹 UiPath Advanced Use Cases (REFramework):    • UiPath REFramework - Full Tutorial - ...  
🔹 My RPA Developer Salary:    • My RPA Developer Salary & Pay (with R...  

👨‍👩‍👧‍👦 Discord:   / discord  
- Join my network with 3100+ RPA Developers, where we solve RPA problems, network, and help each other upgrade our careers. It's free!

FOLLOW ME:
💼 LinkedIn:   / andersjensenorg  
📸 Instagram:   / andersjensenorg  
👨 Facebook:   / andersjensenorg  
🐦 Twitter:   / andersjensenorg  
💌 Email Newsletter: https://andersjensen.org/email-newsle...

MY MONITOR (Amazon affiliate):
🖥️ Samsung 49-inch CRG9 Curved Monitor = https://geni.us/MDpejc
- If you are buying this, I can recommend the Mi Monitor Light Bar = https://geni.us/3Wwad

0:00 Intro
Today we're going through Arrays, Lists, and Dictionaries in UiPath Studio. We'll cover each variable type in simple examples and learn the best practices.

1:31 Array
An array can hold values of the same type. Per default, it's null, and if you try to refer to the array with no values, you'll get the "Object reference not set to an instance of an object" error message. That's because the value of the error is Null. This is not the same as empty.

17:22 List
A List can hold values of the same type (like an array). You want to use a List over an Array, because you can add items to a List during runtime. To add items to our List we use the Invoke Method activity with the MethodName Add.

27:00 Dictionary
A Dictionary holds key-value pairs. So we can look up a key and get a value back. You learn how to add items to a Dictionary. Both from the start of our process and when the robot runs during runtime.

35:56 List Use Case
We create a simple process that closes programs. Use the Kill Process in a For Each, where we loop our list with applications to close.

41:14 Dictionary Use Case
In this simple example, we use a Dictionary to store our Config date. First, we read an Excel sheet with data into a Data Table. Then we iterate the Data Table and store the info in our Dictionary. Then we can all the names and keys and get the values back. This approach per default in the UiPath REFramework.

#uipath #rpa #roboticprocessautomation


Смотрите видео Arrays, Lists and Dictionaries in UiPath - Full Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Anders Jensen 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 11,093 раз и оно понравилось 218 людям.