Welcome to RPA Developer Kickstarter Day 2 : UiPath Variables, Arguments, Control Flow Activities & String Operations
Here we will get answers to the following questions...
1. What are Variables?
2. What are Arguments?
3. When do we use them and whats the difference?
4. What are String Manipulations and Different Methods?
Key Takeaways:
1. Difference between Variable and Argument.
2. Scope of Variables.
3. Types of Arguments.
4. Control flows and basic activities.
5. String manipulation methods.
Documentation around creating Variables: https://docs.uipath.com/studio/v2020.10/docs/managing-variables
Documentation around creating arguments: https://docs.uipath.com/studio/docs/managing-arguments
Documentation around IF: https://docs.uipath.com/activities/docs/if
Documentation around Switch: : https://docs.uipath.com/activities/docs/switch
For Self Paced learning course visit here: https://academy.uipath.com/courses/variables-arguments-and-control-flow-in-studio
Assignment Day 2:
Create two workflows:
1. Main
2. Age calculator(calculate the age based on DOB)
- In main Take name and DOB from the user using Input dialogue box: Create variable – Name, DOB and age.
- In Age calculator create 2 arguments In – DOB, Out – Age.
- Come back to Main check if the age is < 18 – display “’Name’+ is a teenager”
- if the age is 17<25<60 display “’Name’ + is in adulthood” , age>60 display “’Name’_ is in old age”.
To enhance this you can take teen, adult and old as a string and consider them as cases in switch and display the message inside your switch case.