SlideShare a Scribd company logo
1 of 38
Download to read offline
UiPath Studio Session 2
The Fundamentals of UiPath Studio
2
▪ Variables
▪ Data Types
▪ UiPath Workflow Layouts
▪ Arguments
▪ Control flows and conditional statements
▪ Example of loops and conditional statements
▪ Exercise - follow along (loops, conditional statements)
▪ Wrap up and give an overview of upcoming session
Agenda
Variables
4
Variables are containers that can hold multiple data entries (values) of
the same data type.
e.g. EmailAddress can be a variable that holds the value
"rpadeveloper@uipath.com"
What are Variables?
Why are Variables important?
● Variables help us pass data from one activity to another.
● Advancing with any automation process would be hardly possible without using variables.
5
Three ways to create Variables in Studio
From the Variables panel
Open the Variables panel,
select the 'Create new
Variable' option, and fill in
the name. Whenever
needed, provide its name in
the Designer panel or in the
desired Properties field.
From the Designer panel
Variables can be created
from expressions directly in
an activity input field or the
Expression Editor. Within
the input field, press Ctrl+K
so the Set Var field is
displayed; fill in the name
and press Enter. Then check
its type and scope in the
Variables panel.
From the Properties panel
In the Properties panel of
the activity, select a field that
can be edited press Ctrl+K.
The Set Var field is
displayed. Fill in the name
and press Enter. Check its
type and scope in the
Variables panel.
6
Variables are configured through their properties. You can set them in the Variables panel.
The main properties in UiPath are:
●Name – the variable's name is its unique ID and it defines the way it is displayed and
used. Pascal Case is recommended.
●Type – it defines what kind of data can be stored in the variable. In UiPath, the type is
declared when the variable is created.
●Default Value – in general, variables have initial values that change throughout the
process.
●Scope – the part of the workflow in which the variable can be used. Some variables can
be global (used throughout the workflow), others local (used inside an activity).
How are Variables Configured?
7
The type of value that a variable holds is determined by the datatype of the
variable.
Based on datatype, some variables can hold a single value (e.g. string, integer,
etc.) while some other can hold multiple values (e.g. array, list, datatable, etc.)
In Studio, variables are configured through their properties using the Properties
panel.
The value of a variable can change through external input, data manipulation or
passing from one activity to another.
Common Facts about Variables in UiPath Studio
Data Types
9
With some exceptions, the data types in UiPath are borrowed from VB.Net
e.g. String, Int32, Boolean, Arrays, Lists, Datatables, etc.
UiPath has a proprietary variable type called GenericValue that can store
any kind of data, including text, numbers, dates, and arrays.
Data Types
10
● String – System.String: used to store text
NUMERIC: there are different subtypes of numerical variables.
● Int32 – System.Int32 (signed integers) e.g. 10, 299, -100
● Long – System.Int64 (long integers) e.g. 5435435343O, -11332424D
● Double – System.Double (allows decimals, 15-16 digits precision) e.g.
19.1234567891011
● Boolean – System.Boolean: used to store one of two values i.e. True or False
Common Data Types
11
● DataTable – represent a type of variable that can store big pieces of information, and
act as a database or a simple spreadsheet with rows and columns.
DATE AND TIME:
● DateTime – System.DateTime: used to store specific time coordinates (mm/dd/yyyy
hh:mm:ss)
Common Data Types
12
● The GenericValue (UiPath.Core.GenericValue) data type is particular to UiPath and can
store any kind of data, including text, numbers, dates, and arrays.
● UiPath Studio has an automatic conversion mechanism of GenericValue variables and
arguments, which you can guide towards the desired outcome by carefully defining their
expressions.
● Please note that the first element in your expression is used as a guideline for what
operation Studio performs e.g.
<Int32> 123 + <String> 123 = <GenericValue> 246
< String> 123 + < Int32> 123 = <GenericValue> 123123
Generic Data Type
13
What are some business scenarios in which I will use GenericValue?
● Data is extracted from a UI field and forwarded to another workflow without processing.
● Two versions of the same Excel file are being compared column by column.
● The columns are different in terms of data type, the only relevant thing is which entries have
changed.
Generic Data Type Uses
Workflow
15
A workflow represents a small piece of automation that you can take and re-
use in your projects.
What is a Workflow?
It is basically your canvas, the place where you design and work with all the
UiPath Studio activities and it defines the flow of your automation.
Hence the name, workflow.
16
● The fastest, most reliable, and useful way of automating a process is to break it
down into smaller bits.
● This allows for independent testing of components, enables team collaboration, and
component reuse.
● Hence, most of the automation projects require the use of multiple workflows that
come together to provide a solid business automation solution.
Why are Workflows important?
17
UiPath Studio provides you with predefined workflow layouts to suit all the needs of a fast and
reliable automation process. The workflow layouts are:
● Sequences – are suitable to linear processes as they enable you to go from one activity to
another seamlessly, and act as a single block activity.
● Flowcharts – unlike sequences, flowcharts present multiple branching logical operators, that
enable you to create complex business processes and connect activities in multiple ways.
● State Machines
● Global Exception Handler
UiPath Workflow Layouts
Arguments
19
In real automation scenarios, business automation projects consist of
multiple workflows, and we need a different kind of vehicle to pass data
between workflows, and this is called an argument.
What is an Argument?
20
Arguments are very similar to variables:
● They store data dynamically
● They have the same data types
● They support the same methods and properties
● The difference is that they pass data between workflows, and they have an
additional property for this – the direction.
Arguments have specific directions: In, Out, and In/Out. These tell the Robot where
the information stored in them is supposed to go.
What is an Argument?
21
Using an Argument
Workflow 1 Workflow 2
Invoke
Workflow 2
In: Carry data to workflow 2
Out: Carry data from workflow 2
In/Out: Carrry data from/to workflow 2
22
•From Expressions – directly in an activity input field or the Expression Editor. Select
a part of the expression and press Ctrl+M (for In arguments) or Ctrl+Shift+M (for Out
arguments).
•From the Properties panel – in the Properties panel of any activity, right-click a field
that can be edited, and select Create In Argument or Create Out Argument from the
context menu. Alternatively, press Ctrl+M (in) or Ctrl+Shift+M (out).
•From the Arguments panel – Navigate to the Arguments panel. Select the Create
Argument line, and fill in the name, direction and type. A new argument is created.
Note: Argument names should be in PascalCase with a prefix stating the argument direction
How to Create Arguments
Control Flow
24
Control Flow is the order in which
activities are executed or evaluated in a
software project.
The most common control flow
statements are If, While, Do While, For
Each, Switch, and Parallel.
What is an Control Flow?
25
● Control flow takes care of the order in which the actions are performed in
automation.
● Activities like If/Else If, For Each, enable us to define rules and automate
conditional statements within the project.
● Loops enable us to run a part of the automation a specific number of times until a
condition is met, or indefinitely.
What is the importance of control flow?
26
● The conditional, also known as decision-making activities such as If, Else If, and
Switch.
● Loops such as While, Do While, and For Each.
● Parallel Activity that executes child activities asynchronously, in parallel.
Three types of Control Statements
27
Contains a statement with a condition, and two sets of instructions (Then & Else) as
outcomes
Then: the set of actions to be executed when the condition is True
Else: the set of actions to be executed when the condition is False
Conditional Control Statements - If
28
It comes with the ability to add multiple
conditions to the Else branch.
● If the first condition is met, then you perform
the action under it.
● If not, you can add another condition using the
second Else If and if the condition is True,
then perform the action under it. If not, add
another condition using Else If.
● Else, if none of the conditions are met, then
you perform the last action under Else.
Conditional Control Statements - Else If
Exercises
● If Condition
30
Executes a set of activities out of multiple, based on the
value of a specific expression. Useful when we need at
least three potential sources of action.
★ Switch evaluates once; Else If evaluates each time.
Conditional Control Statements - Switch
Business Cases to use Switch Statement
● An invoice that has three potential
statuses (not started, pending, approved)
and three sets of actions for each one.
● A process of automatically ordering raw
materials to four suppliers based on
certain conditions.
31
Better than Else If?
32
While
It executes a specific sequence while a condition is met.
The condition is evaluated before each execution of the
statements.
It is possible for a While loop to have zero executions!
For example, if a Robot would play Blackjack, it should
calculate the hand before deciding whether to draw
another card.
Conditional Control Statements - Loops - While
33
Loops are repetitions of a set of operations based on a
given condition.
Do While
It executes a specific sequence while a condition is met.
The condition is evaluated after each execution of the
statements
This is a quite different scenario than the While loop.
In the body of the loop, a robot could perform a refresh
command on a website and then check if a relevant
element was loaded. It will continue the refresh - check
cycle until the element is loaded. .
Conditional Control Statements - Loops - Do While
34
For Each
It performs an activity or a series of activities
on each element of an input collection.
This is very useful in data processing.
Consider an Array of integers. For Each
would enable the robot to check whether
each numeric item fulfills a certain condition.
Conditional Control Statements - Loops - For Each
35
Loops are fun, but you should know how to stop the ride at some point. There are multiple
ways to exit a loop:
● The While and Do While loops will exit when upon checking, the condition is no longer
true.
● The For Each loop will exit when it has finished processing every item in the input
collection.
● The Break activity enables you to exit the current loop activity (e.g. For Each, While, or
Do While) at a chosen point and continues the workflow with the activity that follows it.
● The Continue activity enables you to skip the remaining steps in the current iteration
inside a loop activity, such as For Each, While, or Do While loop.
How to exit a loop?
Exercises
● Do While
● For Each
37
Log into UiPath Academy www.academy.uipath.com
> go to the Learning by Role page
> enroll for the RPA Developer Foundation course
> go through the lesson titled “Variables, Arguments,
and Control Flow in Studio”
Session 3 – Introduction to UI Automation
> Recorders, Selectors, Data Scraping, Excel
Automation etc.
Feel free to ask any questions in the UiPath Forum thread
- https://forum.uipath.com/t/rpa-summer-school-studio-
thread/461307
What’s next?
38
Happy Automating!

More Related Content

What's hot

UiPath - Business Process Automation Software
UiPath - Business Process Automation SoftwareUiPath - Business Process Automation Software
UiPath - Business Process Automation SoftwareDeskover Soft
 
UiPath 23.4 Product Release Updates
UiPath 23.4 Product Release UpdatesUiPath 23.4 Product Release Updates
UiPath 23.4 Product Release UpdatesDianaGray10
 
Introduction to RPA_SummerSchool _ Welcome to the world of automation using U...
Introduction to RPA_SummerSchool _ Welcome to the world of automation using U...Introduction to RPA_SummerSchool _ Welcome to the world of automation using U...
Introduction to RPA_SummerSchool _ Welcome to the world of automation using U...Diana Gray, MBA
 
RPA Blue Prism Tutorial For Beginners | Introduction To Blue Prism | RPA Trai...
RPA Blue Prism Tutorial For Beginners | Introduction To Blue Prism | RPA Trai...RPA Blue Prism Tutorial For Beginners | Introduction To Blue Prism | RPA Trai...
RPA Blue Prism Tutorial For Beginners | Introduction To Blue Prism | RPA Trai...Edureka!
 
UiPath REFramework Overview Developer Series - Part 1 of 4
UiPath REFramework Overview  Developer Series - Part 1 of 4UiPath REFramework Overview  Developer Series - Part 1 of 4
UiPath REFramework Overview Developer Series - Part 1 of 4Diana Gray, MBA
 
Ui path online training ppt
Ui path online training pptUi path online training ppt
Ui path online training pptThenmozhiC
 
Types of Workflow.pptx
Types of Workflow.pptxTypes of Workflow.pptx
Types of Workflow.pptxApurbaSamanta9
 
RPA Developer Kickstarter | Day 3: UI Automation and UiPath Selectors
RPA Developer Kickstarter | Day 3: UI Automation and UiPath SelectorsRPA Developer Kickstarter | Day 3: UI Automation and UiPath Selectors
RPA Developer Kickstarter | Day 3: UI Automation and UiPath SelectorsRohit Radhakrishnan
 
What is RPA Lifecycle? Edureka
What is RPA Lifecycle? EdurekaWhat is RPA Lifecycle? Edureka
What is RPA Lifecycle? EdurekaEdureka!
 
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfTest Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfDiana Gray, MBA
 
Robotic Process Automation with UiPath Studio
Robotic Process Automation with UiPath StudioRobotic Process Automation with UiPath Studio
Robotic Process Automation with UiPath StudioLalit Birla
 
Importance of Solution Architecture in Automation
Importance of Solution Architecture in AutomationImportance of Solution Architecture in Automation
Importance of Solution Architecture in AutomationCristina Vidu
 
What is UiPath RPA Architecture | UiPath Studio, Robot & Orchestrator | Edureka
What is UiPath RPA Architecture | UiPath Studio, Robot & Orchestrator | EdurekaWhat is UiPath RPA Architecture | UiPath Studio, Robot & Orchestrator | Edureka
What is UiPath RPA Architecture | UiPath Studio, Robot & Orchestrator | EdurekaEdureka!
 
How to integrate UiPath into your Microsoft environment
How to integrate UiPath into your Microsoft environmentHow to integrate UiPath into your Microsoft environment
How to integrate UiPath into your Microsoft environmentCristina Vidu
 
UiPath Citrix Automation | Image and Text Automation in UiPath | UiPath Train...
UiPath Citrix Automation | Image and Text Automation in UiPath | UiPath Train...UiPath Citrix Automation | Image and Text Automation in UiPath | UiPath Train...
UiPath Citrix Automation | Image and Text Automation in UiPath | UiPath Train...Edureka!
 
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...Edureka!
 

What's hot (20)

Ui path| RPA
Ui path| RPAUi path| RPA
Ui path| RPA
 
UiPath - Business Process Automation Software
UiPath - Business Process Automation SoftwareUiPath - Business Process Automation Software
UiPath - Business Process Automation Software
 
UiPath 23.4 Product Release Updates
UiPath 23.4 Product Release UpdatesUiPath 23.4 Product Release Updates
UiPath 23.4 Product Release Updates
 
Introduction to RPA_SummerSchool _ Welcome to the world of automation using U...
Introduction to RPA_SummerSchool _ Welcome to the world of automation using U...Introduction to RPA_SummerSchool _ Welcome to the world of automation using U...
Introduction to RPA_SummerSchool _ Welcome to the world of automation using U...
 
RPA Blue Prism Tutorial For Beginners | Introduction To Blue Prism | RPA Trai...
RPA Blue Prism Tutorial For Beginners | Introduction To Blue Prism | RPA Trai...RPA Blue Prism Tutorial For Beginners | Introduction To Blue Prism | RPA Trai...
RPA Blue Prism Tutorial For Beginners | Introduction To Blue Prism | RPA Trai...
 
UiPath REFramework Overview Developer Series - Part 1 of 4
UiPath REFramework Overview  Developer Series - Part 1 of 4UiPath REFramework Overview  Developer Series - Part 1 of 4
UiPath REFramework Overview Developer Series - Part 1 of 4
 
Ui path online training ppt
Ui path online training pptUi path online training ppt
Ui path online training ppt
 
Types of Workflow.pptx
Types of Workflow.pptxTypes of Workflow.pptx
Types of Workflow.pptx
 
RPA Developer Kickstarter | Day 3: UI Automation and UiPath Selectors
RPA Developer Kickstarter | Day 3: UI Automation and UiPath SelectorsRPA Developer Kickstarter | Day 3: UI Automation and UiPath Selectors
RPA Developer Kickstarter | Day 3: UI Automation and UiPath Selectors
 
UiPath Studio Web
UiPath Studio WebUiPath Studio Web
UiPath Studio Web
 
What is RPA Lifecycle? Edureka
What is RPA Lifecycle? EdurekaWhat is RPA Lifecycle? Edureka
What is RPA Lifecycle? Edureka
 
UiPath User Guide.pdf
UiPath User Guide.pdfUiPath User Guide.pdf
UiPath User Guide.pdf
 
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfTest Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
 
RPA Uipath Presentation.pptx
RPA Uipath Presentation.pptxRPA Uipath Presentation.pptx
RPA Uipath Presentation.pptx
 
Robotic Process Automation with UiPath Studio
Robotic Process Automation with UiPath StudioRobotic Process Automation with UiPath Studio
Robotic Process Automation with UiPath Studio
 
Importance of Solution Architecture in Automation
Importance of Solution Architecture in AutomationImportance of Solution Architecture in Automation
Importance of Solution Architecture in Automation
 
What is UiPath RPA Architecture | UiPath Studio, Robot & Orchestrator | Edureka
What is UiPath RPA Architecture | UiPath Studio, Robot & Orchestrator | EdurekaWhat is UiPath RPA Architecture | UiPath Studio, Robot & Orchestrator | Edureka
What is UiPath RPA Architecture | UiPath Studio, Robot & Orchestrator | Edureka
 
How to integrate UiPath into your Microsoft environment
How to integrate UiPath into your Microsoft environmentHow to integrate UiPath into your Microsoft environment
How to integrate UiPath into your Microsoft environment
 
UiPath Citrix Automation | Image and Text Automation in UiPath | UiPath Train...
UiPath Citrix Automation | Image and Text Automation in UiPath | UiPath Train...UiPath Citrix Automation | Image and Text Automation in UiPath | UiPath Train...
UiPath Citrix Automation | Image and Text Automation in UiPath | UiPath Train...
 
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...
 

Similar to UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf

Variables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptxVariables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptxApurbaSamanta9
 
🌺 Women in Automation Series: Intro to UiPath Studio ▶ Session 2
🌺 Women in Automation Series: Intro to UiPath Studio ▶ Session 2🌺 Women in Automation Series: Intro to UiPath Studio ▶ Session 2
🌺 Women in Automation Series: Intro to UiPath Studio ▶ Session 2Cristina Vidu
 
Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7mohammad hossein Jalili
 
Ui path certificate question set 1
Ui path certificate question set 1Ui path certificate question set 1
Ui path certificate question set 1Majid Hashmi
 
UiPath Development Best Practices.pptx
UiPath Development Best Practices.pptxUiPath Development Best Practices.pptx
UiPath Development Best Practices.pptxApurbaSamanta9
 
Getting Started with Calc Manager for HFM
Getting Started with Calc Manager for HFMGetting Started with Calc Manager for HFM
Getting Started with Calc Manager for HFMAlithya
 
Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes arvind pandey
 
Rules Programming tutorial
Rules Programming tutorialRules Programming tutorial
Rules Programming tutorialSrinath Perera
 
Decision table
Decision tableDecision table
Decision tablejeebala
 
Workflows via Event driven architecture
Workflows via Event driven architectureWorkflows via Event driven architecture
Workflows via Event driven architectureMilan Patel
 
Chapter 1 Data structure.pptx
Chapter 1 Data structure.pptxChapter 1 Data structure.pptx
Chapter 1 Data structure.pptxwondmhunegn
 
Introduction To Work Item Customisation
Introduction To Work Item CustomisationIntroduction To Work Item Customisation
Introduction To Work Item Customisationwbarthol
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtpRamu Palanki
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answersRamu Palanki
 

Similar to UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf (20)

Variables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptxVariables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptx
 
Variable and Arguments_4.pptx
Variable and Arguments_4.pptxVariable and Arguments_4.pptx
Variable and Arguments_4.pptx
 
🌺 Women in Automation Series: Intro to UiPath Studio ▶ Session 2
🌺 Women in Automation Series: Intro to UiPath Studio ▶ Session 2🌺 Women in Automation Series: Intro to UiPath Studio ▶ Session 2
🌺 Women in Automation Series: Intro to UiPath Studio ▶ Session 2
 
Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7
 
Ui path certificate question set 1
Ui path certificate question set 1Ui path certificate question set 1
Ui path certificate question set 1
 
algo 1.ppt
algo 1.pptalgo 1.ppt
algo 1.ppt
 
UiPath Development Best Practices.pptx
UiPath Development Best Practices.pptxUiPath Development Best Practices.pptx
UiPath Development Best Practices.pptx
 
Getting Started with Calc Manager for HFM
Getting Started with Calc Manager for HFMGetting Started with Calc Manager for HFM
Getting Started with Calc Manager for HFM
 
Use Case Diagrams part4
Use Case Diagrams part4Use Case Diagrams part4
Use Case Diagrams part4
 
Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes
 
Spring batch overivew
Spring batch overivewSpring batch overivew
Spring batch overivew
 
Rules Programming tutorial
Rules Programming tutorialRules Programming tutorial
Rules Programming tutorial
 
Decision table
Decision tableDecision table
Decision table
 
Workflows via Event driven architecture
Workflows via Event driven architectureWorkflows via Event driven architecture
Workflows via Event driven architecture
 
pccf unit 1 _VP.pptx
pccf unit 1 _VP.pptxpccf unit 1 _VP.pptx
pccf unit 1 _VP.pptx
 
Chapter 1 Data structure.pptx
Chapter 1 Data structure.pptxChapter 1 Data structure.pptx
Chapter 1 Data structure.pptx
 
Introduction To Work Item Customisation
Introduction To Work Item CustomisationIntroduction To Work Item Customisation
Introduction To Work Item Customisation
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtp
 
Lecture 1 and 2
Lecture 1 and 2Lecture 1 and 2
Lecture 1 and 2
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
 

More from Diana Gray, MBA

Intelligent Automation in Accounting and Finance with IMA Queens College Stud...
Intelligent Automation in Accounting and Finance with IMA Queens College Stud...Intelligent Automation in Accounting and Finance with IMA Queens College Stud...
Intelligent Automation in Accounting and Finance with IMA Queens College Stud...Diana Gray, MBA
 
What it Takes to Automate Your Organization and Develop a Mature Automation S...
What it Takes to Automate Your Organization and Develop a Mature Automation S...What it Takes to Automate Your Organization and Develop a Mature Automation S...
What it Takes to Automate Your Organization and Develop a Mature Automation S...Diana Gray, MBA
 
2022.11 - Women in Automation - Introduction to RPA_PD.pptx
2022.11 - Women in Automation - Introduction to RPA_PD.pptx2022.11 - Women in Automation - Introduction to RPA_PD.pptx
2022.11 - Women in Automation - Introduction to RPA_PD.pptxDiana Gray, MBA
 
Generate Metrics from Transactions - Chicago Meetup
Generate Metrics from Transactions - Chicago MeetupGenerate Metrics from Transactions - Chicago Meetup
Generate Metrics from Transactions - Chicago MeetupDiana Gray, MBA
 
Women in Automation: Launch Your Career with RPA - Part 2 of 3
Women in Automation: Launch Your Career with RPA - Part 2 of 3Women in Automation: Launch Your Career with RPA - Part 2 of 3
Women in Automation: Launch Your Career with RPA - Part 2 of 3Diana Gray, MBA
 
FORWARD 5 Key Highlights and Product Updates - Philadelphia Chapter
FORWARD 5 Key Highlights and Product Updates - Philadelphia ChapterFORWARD 5 Key Highlights and Product Updates - Philadelphia Chapter
FORWARD 5 Key Highlights and Product Updates - Philadelphia ChapterDiana Gray, MBA
 
Assisted Task Mining: Driving Continuous Discovery
Assisted Task Mining: Driving Continuous DiscoveryAssisted Task Mining: Driving Continuous Discovery
Assisted Task Mining: Driving Continuous DiscoveryDiana Gray, MBA
 
Women in Automation: Exploring RPA - Part 1 of 3
Women in Automation: Exploring RPA - Part 1 of 3Women in Automation: Exploring RPA - Part 1 of 3
Women in Automation: Exploring RPA - Part 1 of 3Diana Gray, MBA
 
UiPath Apps - Data Service, Entity and DS, and Table Control - Developer Seri...
UiPath Apps - Data Service, Entity and DS, and Table Control - Developer Seri...UiPath Apps - Data Service, Entity and DS, and Table Control - Developer Seri...
UiPath Apps - Data Service, Entity and DS, and Table Control - Developer Seri...Diana Gray, MBA
 
Consumindo APIs com UiPath
Consumindo APIs com UiPathConsumindo APIs com UiPath
Consumindo APIs com UiPathDiana Gray, MBA
 
Introduction to RPA and Document Understanding
Introduction to RPA and Document UnderstandingIntroduction to RPA and Document Understanding
Introduction to RPA and Document UnderstandingDiana Gray, MBA
 
Partner Training: UiPath Digital Marketing Center
Partner Training: UiPath Digital Marketing CenterPartner Training: UiPath Digital Marketing Center
Partner Training: UiPath Digital Marketing CenterDiana Gray, MBA
 
Document Understanding: Cómo prepararse para una implementación exitosa
Document Understanding: Cómo prepararse para una implementación exitosaDocument Understanding: Cómo prepararse para una implementación exitosa
Document Understanding: Cómo prepararse para una implementación exitosaDiana Gray, MBA
 
Technology Series: Intelligently automate core business apps with UiPath and ...
Technology Series: Intelligently automate core business apps with UiPath and ...Technology Series: Intelligently automate core business apps with UiPath and ...
Technology Series: Intelligently automate core business apps with UiPath and ...Diana Gray, MBA
 
UiPath Apps - Functions, Expressions, Inline Validations & Function - Develop...
UiPath Apps - Functions, Expressions, Inline Validations & Function - Develop...UiPath Apps - Functions, Expressions, Inline Validations & Function - Develop...
UiPath Apps - Functions, Expressions, Inline Validations & Function - Develop...Diana Gray, MBA
 
REFramework: Debugging/Workflow Analyzer/Validation - Developer Series - Part...
REFramework: Debugging/Workflow Analyzer/Validation - Developer Series - Part...REFramework: Debugging/Workflow Analyzer/Validation - Developer Series - Part...
REFramework: Debugging/Workflow Analyzer/Validation - Developer Series - Part...Diana Gray, MBA
 
UiPath Apps - Containers, Controls and Events - Developer Series - Part 1 of 4
UiPath Apps - Containers, Controls and Events - Developer Series - Part 1 of 4UiPath Apps - Containers, Controls and Events - Developer Series - Part 1 of 4
UiPath Apps - Containers, Controls and Events - Developer Series - Part 1 of 4Diana Gray, MBA
 
REFramework: Queues, Configuration and Creating within the States - Developer...
REFramework: Queues, Configuration and Creating within the States - Developer...REFramework: Queues, Configuration and Creating within the States - Developer...
REFramework: Queues, Configuration and Creating within the States - Developer...Diana Gray, MBA
 
How to Scale Your Automation Program
How to Scale Your Automation ProgramHow to Scale Your Automation Program
How to Scale Your Automation ProgramDiana Gray, MBA
 
UiPath REFramework Modify the Framework -Add States, Remove States - Develope...
UiPath REFramework Modify the Framework -Add States, Remove States - Develope...UiPath REFramework Modify the Framework -Add States, Remove States - Develope...
UiPath REFramework Modify the Framework -Add States, Remove States - Develope...Diana Gray, MBA
 

More from Diana Gray, MBA (20)

Intelligent Automation in Accounting and Finance with IMA Queens College Stud...
Intelligent Automation in Accounting and Finance with IMA Queens College Stud...Intelligent Automation in Accounting and Finance with IMA Queens College Stud...
Intelligent Automation in Accounting and Finance with IMA Queens College Stud...
 
What it Takes to Automate Your Organization and Develop a Mature Automation S...
What it Takes to Automate Your Organization and Develop a Mature Automation S...What it Takes to Automate Your Organization and Develop a Mature Automation S...
What it Takes to Automate Your Organization and Develop a Mature Automation S...
 
2022.11 - Women in Automation - Introduction to RPA_PD.pptx
2022.11 - Women in Automation - Introduction to RPA_PD.pptx2022.11 - Women in Automation - Introduction to RPA_PD.pptx
2022.11 - Women in Automation - Introduction to RPA_PD.pptx
 
Generate Metrics from Transactions - Chicago Meetup
Generate Metrics from Transactions - Chicago MeetupGenerate Metrics from Transactions - Chicago Meetup
Generate Metrics from Transactions - Chicago Meetup
 
Women in Automation: Launch Your Career with RPA - Part 2 of 3
Women in Automation: Launch Your Career with RPA - Part 2 of 3Women in Automation: Launch Your Career with RPA - Part 2 of 3
Women in Automation: Launch Your Career with RPA - Part 2 of 3
 
FORWARD 5 Key Highlights and Product Updates - Philadelphia Chapter
FORWARD 5 Key Highlights and Product Updates - Philadelphia ChapterFORWARD 5 Key Highlights and Product Updates - Philadelphia Chapter
FORWARD 5 Key Highlights and Product Updates - Philadelphia Chapter
 
Assisted Task Mining: Driving Continuous Discovery
Assisted Task Mining: Driving Continuous DiscoveryAssisted Task Mining: Driving Continuous Discovery
Assisted Task Mining: Driving Continuous Discovery
 
Women in Automation: Exploring RPA - Part 1 of 3
Women in Automation: Exploring RPA - Part 1 of 3Women in Automation: Exploring RPA - Part 1 of 3
Women in Automation: Exploring RPA - Part 1 of 3
 
UiPath Apps - Data Service, Entity and DS, and Table Control - Developer Seri...
UiPath Apps - Data Service, Entity and DS, and Table Control - Developer Seri...UiPath Apps - Data Service, Entity and DS, and Table Control - Developer Seri...
UiPath Apps - Data Service, Entity and DS, and Table Control - Developer Seri...
 
Consumindo APIs com UiPath
Consumindo APIs com UiPathConsumindo APIs com UiPath
Consumindo APIs com UiPath
 
Introduction to RPA and Document Understanding
Introduction to RPA and Document UnderstandingIntroduction to RPA and Document Understanding
Introduction to RPA and Document Understanding
 
Partner Training: UiPath Digital Marketing Center
Partner Training: UiPath Digital Marketing CenterPartner Training: UiPath Digital Marketing Center
Partner Training: UiPath Digital Marketing Center
 
Document Understanding: Cómo prepararse para una implementación exitosa
Document Understanding: Cómo prepararse para una implementación exitosaDocument Understanding: Cómo prepararse para una implementación exitosa
Document Understanding: Cómo prepararse para una implementación exitosa
 
Technology Series: Intelligently automate core business apps with UiPath and ...
Technology Series: Intelligently automate core business apps with UiPath and ...Technology Series: Intelligently automate core business apps with UiPath and ...
Technology Series: Intelligently automate core business apps with UiPath and ...
 
UiPath Apps - Functions, Expressions, Inline Validations & Function - Develop...
UiPath Apps - Functions, Expressions, Inline Validations & Function - Develop...UiPath Apps - Functions, Expressions, Inline Validations & Function - Develop...
UiPath Apps - Functions, Expressions, Inline Validations & Function - Develop...
 
REFramework: Debugging/Workflow Analyzer/Validation - Developer Series - Part...
REFramework: Debugging/Workflow Analyzer/Validation - Developer Series - Part...REFramework: Debugging/Workflow Analyzer/Validation - Developer Series - Part...
REFramework: Debugging/Workflow Analyzer/Validation - Developer Series - Part...
 
UiPath Apps - Containers, Controls and Events - Developer Series - Part 1 of 4
UiPath Apps - Containers, Controls and Events - Developer Series - Part 1 of 4UiPath Apps - Containers, Controls and Events - Developer Series - Part 1 of 4
UiPath Apps - Containers, Controls and Events - Developer Series - Part 1 of 4
 
REFramework: Queues, Configuration and Creating within the States - Developer...
REFramework: Queues, Configuration and Creating within the States - Developer...REFramework: Queues, Configuration and Creating within the States - Developer...
REFramework: Queues, Configuration and Creating within the States - Developer...
 
How to Scale Your Automation Program
How to Scale Your Automation ProgramHow to Scale Your Automation Program
How to Scale Your Automation Program
 
UiPath REFramework Modify the Framework -Add States, Remove States - Develope...
UiPath REFramework Modify the Framework -Add States, Remove States - Develope...UiPath REFramework Modify the Framework -Add States, Remove States - Develope...
UiPath REFramework Modify the Framework -Add States, Remove States - Develope...
 

Recently uploaded

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf

  • 1. UiPath Studio Session 2 The Fundamentals of UiPath Studio
  • 2. 2 ▪ Variables ▪ Data Types ▪ UiPath Workflow Layouts ▪ Arguments ▪ Control flows and conditional statements ▪ Example of loops and conditional statements ▪ Exercise - follow along (loops, conditional statements) ▪ Wrap up and give an overview of upcoming session Agenda
  • 4. 4 Variables are containers that can hold multiple data entries (values) of the same data type. e.g. EmailAddress can be a variable that holds the value "rpadeveloper@uipath.com" What are Variables? Why are Variables important? ● Variables help us pass data from one activity to another. ● Advancing with any automation process would be hardly possible without using variables.
  • 5. 5 Three ways to create Variables in Studio From the Variables panel Open the Variables panel, select the 'Create new Variable' option, and fill in the name. Whenever needed, provide its name in the Designer panel or in the desired Properties field. From the Designer panel Variables can be created from expressions directly in an activity input field or the Expression Editor. Within the input field, press Ctrl+K so the Set Var field is displayed; fill in the name and press Enter. Then check its type and scope in the Variables panel. From the Properties panel In the Properties panel of the activity, select a field that can be edited press Ctrl+K. The Set Var field is displayed. Fill in the name and press Enter. Check its type and scope in the Variables panel.
  • 6. 6 Variables are configured through their properties. You can set them in the Variables panel. The main properties in UiPath are: ●Name – the variable's name is its unique ID and it defines the way it is displayed and used. Pascal Case is recommended. ●Type – it defines what kind of data can be stored in the variable. In UiPath, the type is declared when the variable is created. ●Default Value – in general, variables have initial values that change throughout the process. ●Scope – the part of the workflow in which the variable can be used. Some variables can be global (used throughout the workflow), others local (used inside an activity). How are Variables Configured?
  • 7. 7 The type of value that a variable holds is determined by the datatype of the variable. Based on datatype, some variables can hold a single value (e.g. string, integer, etc.) while some other can hold multiple values (e.g. array, list, datatable, etc.) In Studio, variables are configured through their properties using the Properties panel. The value of a variable can change through external input, data manipulation or passing from one activity to another. Common Facts about Variables in UiPath Studio
  • 9. 9 With some exceptions, the data types in UiPath are borrowed from VB.Net e.g. String, Int32, Boolean, Arrays, Lists, Datatables, etc. UiPath has a proprietary variable type called GenericValue that can store any kind of data, including text, numbers, dates, and arrays. Data Types
  • 10. 10 ● String – System.String: used to store text NUMERIC: there are different subtypes of numerical variables. ● Int32 – System.Int32 (signed integers) e.g. 10, 299, -100 ● Long – System.Int64 (long integers) e.g. 5435435343O, -11332424D ● Double – System.Double (allows decimals, 15-16 digits precision) e.g. 19.1234567891011 ● Boolean – System.Boolean: used to store one of two values i.e. True or False Common Data Types
  • 11. 11 ● DataTable – represent a type of variable that can store big pieces of information, and act as a database or a simple spreadsheet with rows and columns. DATE AND TIME: ● DateTime – System.DateTime: used to store specific time coordinates (mm/dd/yyyy hh:mm:ss) Common Data Types
  • 12. 12 ● The GenericValue (UiPath.Core.GenericValue) data type is particular to UiPath and can store any kind of data, including text, numbers, dates, and arrays. ● UiPath Studio has an automatic conversion mechanism of GenericValue variables and arguments, which you can guide towards the desired outcome by carefully defining their expressions. ● Please note that the first element in your expression is used as a guideline for what operation Studio performs e.g. <Int32> 123 + <String> 123 = <GenericValue> 246 < String> 123 + < Int32> 123 = <GenericValue> 123123 Generic Data Type
  • 13. 13 What are some business scenarios in which I will use GenericValue? ● Data is extracted from a UI field and forwarded to another workflow without processing. ● Two versions of the same Excel file are being compared column by column. ● The columns are different in terms of data type, the only relevant thing is which entries have changed. Generic Data Type Uses
  • 15. 15 A workflow represents a small piece of automation that you can take and re- use in your projects. What is a Workflow? It is basically your canvas, the place where you design and work with all the UiPath Studio activities and it defines the flow of your automation. Hence the name, workflow.
  • 16. 16 ● The fastest, most reliable, and useful way of automating a process is to break it down into smaller bits. ● This allows for independent testing of components, enables team collaboration, and component reuse. ● Hence, most of the automation projects require the use of multiple workflows that come together to provide a solid business automation solution. Why are Workflows important?
  • 17. 17 UiPath Studio provides you with predefined workflow layouts to suit all the needs of a fast and reliable automation process. The workflow layouts are: ● Sequences – are suitable to linear processes as they enable you to go from one activity to another seamlessly, and act as a single block activity. ● Flowcharts – unlike sequences, flowcharts present multiple branching logical operators, that enable you to create complex business processes and connect activities in multiple ways. ● State Machines ● Global Exception Handler UiPath Workflow Layouts
  • 19. 19 In real automation scenarios, business automation projects consist of multiple workflows, and we need a different kind of vehicle to pass data between workflows, and this is called an argument. What is an Argument?
  • 20. 20 Arguments are very similar to variables: ● They store data dynamically ● They have the same data types ● They support the same methods and properties ● The difference is that they pass data between workflows, and they have an additional property for this – the direction. Arguments have specific directions: In, Out, and In/Out. These tell the Robot where the information stored in them is supposed to go. What is an Argument?
  • 21. 21 Using an Argument Workflow 1 Workflow 2 Invoke Workflow 2 In: Carry data to workflow 2 Out: Carry data from workflow 2 In/Out: Carrry data from/to workflow 2
  • 22. 22 •From Expressions – directly in an activity input field or the Expression Editor. Select a part of the expression and press Ctrl+M (for In arguments) or Ctrl+Shift+M (for Out arguments). •From the Properties panel – in the Properties panel of any activity, right-click a field that can be edited, and select Create In Argument or Create Out Argument from the context menu. Alternatively, press Ctrl+M (in) or Ctrl+Shift+M (out). •From the Arguments panel – Navigate to the Arguments panel. Select the Create Argument line, and fill in the name, direction and type. A new argument is created. Note: Argument names should be in PascalCase with a prefix stating the argument direction How to Create Arguments
  • 24. 24 Control Flow is the order in which activities are executed or evaluated in a software project. The most common control flow statements are If, While, Do While, For Each, Switch, and Parallel. What is an Control Flow?
  • 25. 25 ● Control flow takes care of the order in which the actions are performed in automation. ● Activities like If/Else If, For Each, enable us to define rules and automate conditional statements within the project. ● Loops enable us to run a part of the automation a specific number of times until a condition is met, or indefinitely. What is the importance of control flow?
  • 26. 26 ● The conditional, also known as decision-making activities such as If, Else If, and Switch. ● Loops such as While, Do While, and For Each. ● Parallel Activity that executes child activities asynchronously, in parallel. Three types of Control Statements
  • 27. 27 Contains a statement with a condition, and two sets of instructions (Then & Else) as outcomes Then: the set of actions to be executed when the condition is True Else: the set of actions to be executed when the condition is False Conditional Control Statements - If
  • 28. 28 It comes with the ability to add multiple conditions to the Else branch. ● If the first condition is met, then you perform the action under it. ● If not, you can add another condition using the second Else If and if the condition is True, then perform the action under it. If not, add another condition using Else If. ● Else, if none of the conditions are met, then you perform the last action under Else. Conditional Control Statements - Else If
  • 30. 30 Executes a set of activities out of multiple, based on the value of a specific expression. Useful when we need at least three potential sources of action. ★ Switch evaluates once; Else If evaluates each time. Conditional Control Statements - Switch Business Cases to use Switch Statement ● An invoice that has three potential statuses (not started, pending, approved) and three sets of actions for each one. ● A process of automatically ordering raw materials to four suppliers based on certain conditions.
  • 32. 32 While It executes a specific sequence while a condition is met. The condition is evaluated before each execution of the statements. It is possible for a While loop to have zero executions! For example, if a Robot would play Blackjack, it should calculate the hand before deciding whether to draw another card. Conditional Control Statements - Loops - While
  • 33. 33 Loops are repetitions of a set of operations based on a given condition. Do While It executes a specific sequence while a condition is met. The condition is evaluated after each execution of the statements This is a quite different scenario than the While loop. In the body of the loop, a robot could perform a refresh command on a website and then check if a relevant element was loaded. It will continue the refresh - check cycle until the element is loaded. . Conditional Control Statements - Loops - Do While
  • 34. 34 For Each It performs an activity or a series of activities on each element of an input collection. This is very useful in data processing. Consider an Array of integers. For Each would enable the robot to check whether each numeric item fulfills a certain condition. Conditional Control Statements - Loops - For Each
  • 35. 35 Loops are fun, but you should know how to stop the ride at some point. There are multiple ways to exit a loop: ● The While and Do While loops will exit when upon checking, the condition is no longer true. ● The For Each loop will exit when it has finished processing every item in the input collection. ● The Break activity enables you to exit the current loop activity (e.g. For Each, While, or Do While) at a chosen point and continues the workflow with the activity that follows it. ● The Continue activity enables you to skip the remaining steps in the current iteration inside a loop activity, such as For Each, While, or Do While loop. How to exit a loop?
  • 37. 37 Log into UiPath Academy www.academy.uipath.com > go to the Learning by Role page > enroll for the RPA Developer Foundation course > go through the lesson titled “Variables, Arguments, and Control Flow in Studio” Session 3 – Introduction to UI Automation > Recorders, Selectors, Data Scraping, Excel Automation etc. Feel free to ask any questions in the UiPath Forum thread - https://forum.uipath.com/t/rpa-summer-school-studio- thread/461307 What’s next?