How to Use Variables in UiPath (The Basics for Beginners)
Anders Jensen Anders Jensen
66.6K subscribers
10,526 views
112

 Published On Apr 15, 2021

This video tutorial shows how to use variables in UiPath. You'll learn the basics about Strings, Integers, Doubles, Booleans, and DataTables. How to use variables and how to convert them (integer to string, string to integer, etc.).

šŸ“ Get the course materials (and the full course): https://andersjensen.org/uipathbeginners

šŸŽ„ You could also watch:
ā—‹ UiPath Beginners Course [2021]: Ā Ā Ā ā€¢Ā UiPathĀ BeginnersĀ CourseĀ -Ā HowĀ toĀ Lear...Ā Ā 
ā—‹ RPA Recruiter - My Best Tips & Tricks: Ā Ā Ā ā€¢Ā RPAĀ Recruiter:Ā MyĀ bestĀ TipsĀ &Ā TricksĀ ...Ā Ā 

šŸ“š Best UiPath books


Connect with me:
šŸ‘„ Facebook - Ā Ā /Ā andersjensenorgĀ Ā 
šŸŽ® Discord - Ā Ā /Ā discordĀ Ā 
šŸ’¼ LinkedIn - Ā Ā /Ā andersjensensĀ Ā 
šŸ’Œ Email Newsletter - https://andersjensen.org/email-newsle...
šŸ“· Instagram - Ā Ā /Ā andersjensenorgĀ Ā 

0:00 Intro
Today we'll learn about variables in UiPath in general and, more specifically, strings, integers, doubles, booleans, and DataTables. The conversion between strings and numbers is also covered. Get the course materials (and the full course): https://andersjensen.org/uipathbeginners

1:19 Strings
WIn UiPath, we can either hardcode a string (use quotation marks) or create a variable in the Variables Manager. We use camelCase notation, where the prefix is 'str' (strYourStringName). It's also shown how to combine hardcoded strings and String variables.

6:37 Integers
Integers are whole numbers (meaning numbers with no decimals), e.g., -222, -5, 0, 2, 100, and so forth. We use the .ToString to convert an integer to a string. We can do calculations with integers.

8:51 Doubles
A variable of the type Double can hold any decimal value. Again we can convert it to a string with .ToString. As with integers, we can do calculations with doubles.

11:19 Booleans
A very simply variable type that can only hold two values: True or False. The default is False. We can change the value of our Boolean with an Assign activity.

13:12 DataTables
When we do Excel automation in UiPath, we use DataTables (always please!!). It's rows and columns as with Excel and the advantage is that we can apply Visual Basic .NET to it. VB .NET is the coding language in UiPath. Learn all about it in this book: https://geni.us/v6ffI With a Build Data Table activity we can build a DataTable. Use a Output Data Table to convert our DataTable to a String in order to print it out.

#uipath #rpa #automation

show more

Share/Embed