0% found this document useful (0 votes)
352 views17 pages

RPA-Workflows and Activities

RPA-Uipath Studio Workflow and Activities

Uploaded by

Dr.A.Jeyalakshmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
0% found this document useful (0 votes)
352 views17 pages

RPA-Workflows and Activities

RPA-Uipath Studio Workflow and Activities

Uploaded by

Dr.A.Jeyalakshmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
You are on page 1/ 17

Robotic Process

Automation
Uipath Studio-Workflows
Dr.A.JEYALAKSHMI
Associate Professor
Department of Information Technology
Sri Ramakrishna College of Arts & Science
Coimbatore-641006
Sequencing the Workflow
• UiPath offers four type of workflows
• integrating activities into a working structure when developing
a workflow file

• Flowchart
• Sequence
• State Machine
• Global Exception Handler
Sequence
• Sequences have a simple linear representation
• Which flows from top to bottom
• best suited for simple scenarios
• when activities follow each other.
• For example, they are useful in UI automation, when navigation and
typing happens one click/keystroke at a time.
• single block activity.
• why sequence call as single block activity.?
• Single Block Activity is usually called as Sequence and it is the smallest
type of project.
• We can go from one activity to another seamlessly since they are
suitable for linear processes and works as a single block activity.
Flowchart
• Flowcharts offer more flexibility for connecting activities
and tend to lay out a workflow in a plain two-dimensional
manner.
• Because of its free form and visual appeal,
• flowcharts are best suited for showcasing decision points
within a process.
• Flowcharts can be used to build complex branching
which many of them demands.
• It can be used to implement complex business processes that
demands multi branching :Dynamic web page display :
State Machine

• A state machine is a type of automation that uses a finite number of


states in its execution.
• It can go into a state when it is triggered by an activity, and it exits that
state when another activity is triggered.
• Important aspect of state machines are transitions.
• The State activity contains three sections, Entry, Exit and Transition(s),
while the Final State only contains one section, Entry.
• The Entry and Exit sections enable you to add entry and exit triggers for
the selected state, while the Transition(s) section displays all the
transitions linked to the selected state.
Global Exception Handler
• The Global Exception Handler is a type of workflow designed
to determine the project’s behaviour when encountering an
execution error.
• The Global Exception Handler is not available for library
projects, only processes.
• The Global Exception Handler has two arguments, that
should not be removed.
• They are error info and result.
• The first argument is errorInfo with the In direction and it
stores information about the error that was thrown and the
workflow that failed. The level of the error to be logged can
be set in the Log Message activity.

• The second argument, result has the Out direction and it is used for
determining the next behavior of the process when it encounters an
error. The following values can be assigned to the result argument:
•Continue - The exception is re-thrown.
•Ignore - The exception is ignored, and the execution continues from the next
activity.
•Retry - The activity which threw the exception is retried. Use
the RetryCount method for errorInfo to count the number of times the activity is
retried.
•Abort - The execution stops after running the current Global
Exception Handler.
UiPath Dashboard
• Activity Pane: This pane consists of activities which are used to cater
different functionalities such as printing output, for loop, if-else loop
etc.

• Ribbon: Ribbon consist of options such as Save, Run, Data Scraping,


Recording etc.

• Properties Pane: Properties pane consist of the properties of the


activities which you have dragged and dropped in to the automation.

• Output Pane: The output pane displays the output of your


automation.
Variables In UiPath
• Variables are used to represent unknown fields such as
files, folders, alphabets, numbers etc.
• Variables in UiPath are similar to the variables in any
other programming knowledge.
• Create Variables
• To create variables
• Select an activity and press on Ctrl + K in the output
section of the Properties Pane.
• Click on the Variable Pane as below.
• Remove Variables
• Choose variable from Variable Pane -> Right Click ->
Choose Delete.
• Choose the option “Remove Unused
Variables” from Design Tab.
• Manage Variables
• Mention the Scope of the Variable.
• Mention the Default value(You do not have to mention
the default value for each and every variable).
Types of Variables
• Text Variables –
• This type of variables is used to store the text values.

• True/False Variables –
• This type of variables is used to store Boolean values.
• Number Variables –
• This type of variables is used to store Integer values.
• Array Variables –
• This type of variables is used to store an array of integers or string.
• Date and Time Variables –
• This types of variables is used to store date and time variables.
• Data Table Variables –
• This type of variables is used to store Data Table, which stores the
values in the form of table.
• Generic Variables –
• This type of variables is used to store generic type such as Mail Merge,
Database etc.
Data Types In UiPath

• Data Types classify the type of the value of the variable.


• In UiPath, it could either be an Integer, String, Boolean,
Generic or an Array Of.
Arguments in UiPath
• Arguments are used to pass data from a project to another.
• Resemble as variables
• Store data dynamically.
• Variables pass data between activities,
• Arguments pass data between automations.
• The Arguments panel enables you to create arguments and make
changes to them
Properties of Arguments.
Property Description
Mandatory.
Name

Mandatory.
In – the argument can only be
used within the given project.
Out – the argument can be
Directio
used to pass data outside of a
n
given project.
In/Out – the arguments can
be used both within and
outside of a given project.

Mandatory.
•Boolean
•Int32
Argume
•String
nt Type
•Object
•System.Data.DataTable
•Array of [T]
Activities In UiPath
• Activities in UiPath provides various actions which you need
to automate different applications.
• There are various numbers of Activities in UiPath, for each
and every functionality,
• Message Box
• Assign
• Write CSV
• If
• For Each
• While
• Do-While
• Switch

You might also like