RPA-Workflows and Activities
RPA-Workflows and Activities
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
• 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.
• 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
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