Final RPA Blue Prism
Final RPA Blue Prism
Final RPA Blue Prism
BACHELOR OF TECHNOLOGY
IN
Internship Mentor
P. POOJA RATNAM
Associate Professor
Certificates
ACKNOWLEDGEMENT
We would like to express our deep sense of gratitude to our esteemed institute
We thank our Course Coordinator and our internship mentor, Dr. P.POOJA RATNAM,
Assiatant Professor, Department of Computer Science and Engineering, and
Dr.Uma Devi (Head of Aritifical Inteliigence and Machine Learning)for the kind
suggestions and guidance for the successful completion of our internship.
We are hightly indebted to Dr. D.N.D. HARINI, Associate Professor and Head of the
Department of Computer Science and Engineering, Gayatri Vidya Parishad College
Of Engineering (Autonomous), for giving us an oppurtunity to do the internship in
college.
We express our sincere thanks to our Principal Dr. A.B. KOTESWARA RAO, Gayatri
Vidya Parishad College Of Engineering (Autonomous) for his encouragement to us
during this project, giving us a chance to explore and learn new technologies in the form
of mini project.
We express our deepest thanks to the AICTE I And EDUSKILLs to offer us this
intership.
Finally, we are indebted to the teching and non-teaching staff of the Computer
Science and Engineering Department for all their support in completion of our
project.
J. BHAVYA SRI (20131A4223)
SHARATH (21135A4201)
Blue Prism is an RPA Tool which holds the capability of virtual workforce powered by software robots.
This helps the enterprises to automate the business operations in an agile and cost-effective
manner. The tool is based on Java Programming Language and offers a visual designer with drag and drop
functionalities.
INDEX
1.1. Introduction
Manager
Manager SCORM
SCORM
Readiness - webinar
Certification
Installation
Download the provided blue prism by logging into blue prism website
Figure 1.1
After downloading we get a license for our mail and also download centrix datasolution.csv
file provided by then now install blue prism accept all the default settings
Figure1.2
Set your password and log into again now
Figure1.3
Section-2
Creating a new process
1.Right click on the process heading in the process studio area and give some
description about your project then double click on process name.
2.After opening the process we have some important terms at left side of the
panel.
Figure2.1
Figure 2.2
Figure 2.4
While running process we get some errors which can be rectified .errors can occurs
sometimes while link is missing or syntax was wrong.
For example delete the link between calculate and end stage ,also delete the bracket
in syntax of calaculation box in properties and run the process.at top next to the
run button there is validation button .
Click on validation button we get the errors occurred in the process ,u can also click
on the button at the bottom of the page and understand how to rectify an error.
Section-3
Circular paths
1.Create a new process name circular paths.
2.Open process and create two data items and in property panel one as input
an integer and other is limit value an integer value
3.Add decision stage and name “limit exceed” ,in property panel give a
condition( input>limit) for decision end for “yes” link to the end stage and
for “no” add calculate element and in property box add increment and store
into same variable.
Figure 3.1
And we can control process running
We can use run.pause.resume and also control speeding of process
Figure 3.2
We can skip the stages in process by pausing and click on stage and select run
the next stage.use breakpoint for making the process to run up to selected
stage and then pause.
Using other pages as references in process
We can also add pages into main process such that whatever process in page1
contains also run and after ending of page1 again redirects to main process
and continues until the it reaches end stage.
Figure 3.3
Figure 3.4
Section-4
Introduction to inputs and outputs
1.In main page add data item named “number of loops” in properties window
uncheck “hide from other process”.
2.Drag page element and name “page1” in page1 properties add number of
loops and store in number of loops data item and in page 1 at start stage take
number of loops as input
3.In page 1 ,number of loops variable is created so then create another data
item use for counting until it reaches the number of loops value and follow
by adding decision and calculate stages in page 1 .
4.Add another page2 and create date dataitem in main page and give it as
input to the page2 start stage and then add calculate sage in page2 and
change the date according to the options and send the through end stage as
output to the main page
5.Store this date data item and run the process
Figure 4.1 Figure 4.2
Figure 4.5
Figure 4.6
We can also publish our process
Figure 4.7
Section-5
Business object
Here you go with an interesting part!!
You can access some application through blue prism
Add new process and drag action element and select “Notepad”and type “Launch”
and again add and again add action ,select “Notepad” and type “Write” Click on
write action and in input give the data item with text as “Hello World” Now add
action ,Notepad and type “close”.
Section-6
Object Studio
It is the design canvas where the Blue Prism “robot” is “trained” to perform the basic
system tasks that form the building blocks of processes.
The target desktop application is rapidly modelled and verified through the presentation
layer, which provides a library of elements with which to work
Business Objects
A visual business object is one which is designed from within object studio. In this
case Blue Prism takes care of mapping the interfaces and no configuration is necessary.
Such business objects appear automatically in System Manager, and in Action Stage
Properties forms.
Application Modeller
The Application
Modeller allows you to run
Blue Prism and your target
application side by side,
and invites you to teach
Object Studio about the
features of your target
application, by pointing and
clicking.
Figure 6.1
Figure 6.2
Navigate Stage
• Navigate Stages enable Actions to be used to Launch and Close an application.
• It is best practice to provide 'Preconditions' and'Postconditions' for an Action:
• Preconditions should describe the state of the application prior to running the Action.
• Postconditions should describe the state of the application once the Action has run (e.g.
the application Log In window is open on screen).
• Action Pages must be published before they become visible in the Actions menu, in the
Navigate Stage properties window.
Figure 6.3
Launching or opening the centrix solution using navigation tool.
Figure 6.4
Closing the centrix solution using navigation tool.
Wait Stage
• The use of a Wait Stage, enables Business Objects to pause and wait for an application to
load or a condition to be met, before continuing.
• Wait conditions can be applied to Wait Stages, to evaluate whether a condition exists
within a specified period of time
.• It is also best practice to include a conditional with a application. Wait Stage, following
Figure 6.5
every interaction with application that causes a change in state.
Throttles and Unconditional Waits Timeouts
• Wait Stages can be used without any conditions, with the Timeout serving as a pause to
delay the flow through the Diagram - this is known as 'Throttling'. This allows some extra
time to accommodate the variable performance speed of an application.
• A Global Data Item can be used to store the Timeout duration for all of the Action
Pages within a Business Object, which can make it easier to reconfigure Wait
times in response to application performance.
• It is best practice to create a dedicated Global Throttle Data Item.
The global
data item
is set.
Figure 6.5
Unique Attributes
Identify Element within application window that has identical fingerprint to second
Element in same window . Use ‘Ordinal Attribute to distinguish unique Attributes for two
Elements
Figure 6.6
Write Stage
• The Write Stage is used to transmit values from a Blue Prism Process, to an external
application.
• These values may be the result of an Expression or may be a value stored within a Data
Item.
• Before the Write Stage can transmit a value to an application, the Element field must
first be defined in Application Modeller. Write Stage. Object Diagram with Write Stage
and Data Items. Data Item providing value for Write Stage. Write Stage properties
window.
Figure 6.7
Read Stage
• The Read Stage is another Stage unique
to Object Studio and is used to read
information
from an application, by taking data from an Element within an application and storing it within a
Data Item.
• To prevent errors, a Read Stage is usually combined with a Decision Stage to determine whether
the application is already attached and whether an Attach is necessary.
Figure 6.12
Actions
• The functionality of Actions can only be utilized once the Business Object has been set up to
interact with a Process. Which can be achieved via the inclusion of Action Stages within the
Process Diagram.
• Action Pages need to be published before they become visible within the Action Stage
properties menu.
• Once an Action has been published, the Action icon will be visible next to the tab containing
the Business Object Action name.
Figure 6.13
Figure 6.14
Figure 6.19
Section-7
Figure 7.1
Section-8
Exception handling
Is defined by the management of exceptions in unassisted automation. It ensures that
problems can be automatically resolved if possible, or easily identifiable and repairable by
system administrators or passed for human completion where appropriate.
Recovery Mode
• If left unhandled, an Exception will travel up through the Process to the Main Page and cause
the Session to terminate - this is known as 'Exception Bubbling?
The first step to managing Exception Bubbling and enabling the Session to continue in the event
of an Exception, is to build a 'Recovery Mode' into the Process Solution.
The key elements of which are 'Recover' and "Resume, which work together to salvage and move
on from an Exception.
Figure 8.1
Throwing Exceptions and Exception Properties
• If Exception Handling has not been built into a Process Solution, then any Exceptions that are
the result of the way a Process is configured, or of the performance of an application that is
used by a Process, will be categorized as 'Internal Exceptions'.
• When an Internal Exception is identified, an 'Internal Error' message window will appear that
provides detail of the Exception. Though the information contained here, is not always
presented in an intelligible way. Making it difficult to identify the cause of the error.
• To mitigate this, Exception Stages can be included throughout your Process Solution, which
provide the capability to embed more concise and meaningful information about an Exception.
This information is then 'Thrown' up through the Process and once handled, can be accessed via
the Session Log.
Exception Bubbling
• Exceptions can occur at any point throughout a Process Solution, wherever an
Exception occurs, it will always move up towards the Main Page of the Process to
the highest layer of the Process Solution
• An Exception will continue to Bubble up from an Action in a Business Object and
then through the hierarchy of the Pages within the calling Process, until it reaches
a Page that contains Recovery logic. At which point the Exception will be handled.
• If the Main Page of the highest layer of the Process Solution does not contain logic
to handle the error, then an error message window will appear when running in
Process Studio. If the same occurs when running a Process in Control Room, the
Process will Terminate
Figure 8.2
Figure 8.3
Blocks
• A greater degree of control can be added to Exception Handling, via the use of 'Exception
Blocks'. Which are used to isolate the area of a Process or Object Diagram, that a Recover
Stage is responsible for Without a Block, a Recover Stage will attract any Exception that
arises from any Stage on that Page (unless the Stage is in Recovery Mode between Recover
Resume).
A Block is a means of dividing a Page into separate Exception Areas, each with its own
Recover Stage and Exception Handling logic. Blocks are beneficial, as they enable the use
of multiple Recovery logic on the same Page.
Which can each be configured differently, to deal with Exceptions in different ways. When
using Blocks to organize Exception Handling logic, it's important to ensure that only one
Recover Stage is used within a Block, that Blocks do not to overlap and that Blocks are not
Nested inside one another
Fi
gure
8.4
Section-9
Work Queue
It is essentially a list of Items, which is populated and then worked by a Process.
This list can then be configured, to enable a Process to manage its own workload.
Should a Process encounter a problem whilst working an Item within a Queue, then
this Item can be tagged with information about the problem, which is then stored in the
Work Queue ready to assist with a manual review. Multiple Digital Workers can request
Items from the same Work Queue at the same time, with each receiving different items
from the Work Queue to process.
Working Items
• Blue Prism comes with some Business Objects, that are pre-installed within the software.
These 'Internal Business Objects' are not diagrams and cannot be viewed or changed -only
used in the Process through an Action Stage
. • An example of this is the Internal Business Object - Work Queues Business Object -
which serves to provide a connection between a Process and a Work Queue. Enabling the
Process to store data extracted from external sources within a Work Queue, to be managed
and worked within Blue Prism.
• From within Control Room, Work Queues use different icons to communicate the state of
each Item within the Queue: An unworked or 'pending' item is marked with three blue dots.
An Item that is currently being worked by a Process is marked with a padlock. An Item that
has been worked and completed successfully, is marked with a green check. An Item that
has encountered an error is an Exception and is marked with a purple flag.
• Once all of the Items have been worked and marked as either 'Completed' or as
'Exception', and
once the Get
Next Item Action
Stage returns an
empty Item ID,
then the Process
will flow
towards the
Figure 9.3
Work Queue Configuration
• Work Queues are created and configured in the Workflow Area of System Manager. This
is where Work Queues can be provided with a Name and a key Name. • The Key Name
directly correlates to a column name in the Collection Stage, that is used within a Process
to add new Items to a Work Queue. The column value for each new Item will appear in
the Item Key column, in the Queue Management Area of Control Room.
• From the Workflow Area, it is also possible To check the status of a Work Queue. - To
set the number of Retry Attempts for Items within the Work Queue. To find references to
the Process
interacting with a
particular Work
Queue.
• The Encrypted
option is available
to ensure any
sensitive data held
within the Work
Queue, is also
encrypted within
the Blue Prism
database Figure 9.4
Figure 9.5
Deferring Items
• New Items can be deferred to control the day and time on which they are worked.
• If a deferral date is specified when the items are created, then the Work Queue will
hold on to the Items until that date - effectively freezing them. So, when a Process
that is working a Work Queue fails to retrieve any more Items, it does not
necessarily mean that there are no unworked items in the queue as it could be the
case, that there are deferred Items that are being held until a specified date.
• Without the requirement for the Item to be assigned as either 'Complete' or as
'Exception'. This feature is useful, for part-working an Item and then freezing it for
later - for example, if a
Process is only able to
complete half of its
work on one day, then it
can resume the other
half on the next day.
Figure 9.6
Exception Item Retries
• While an Item is being worked, Exception Retries can occur within a Process or a
Business Object, using retry logic within Recovery Mode..
• A Blue Prism Work Queue can also be set up to enable Exception Items to be
retried, meaning the whole Item is reworked by the Process as if it were a new
pending Item. Attempts only apply to Exceptions - Items marked as 'Complete'
cannot be reworked.
• The Max Attempts field in the Work Queue Configuration section of System
Manager, is set to 1 by default but this can be set to a higher value, if necessary.
When Max Attempts is greater than 1, the Work Queue will revive any Exception
Items, by creating a clone of the Item and injecting it into the queue, at the same
position as the original.
SECTION-10
Additional Features
This provides a more in depth look at some key aspects of blueprism to refine our
skills and ability
Now we will know how to import and export process Business Object and entire
blue prism solutions through blue prism release manager.
Release Manager
• An individual Process or Business Object can be exported from Blue Prism as an
XML file and these exported files can be imported back into Blue Prism. This can
be useful for backing up, sharing and moving singular components of a Blue Prism
Solution between databases.
• A Blue Prism Solution is a compilation of interconnected Processes, Business
Objects and Work Queues and as a result, should always be migrated as a
'Package' or 'Release!
• Blue Prism Release Manager enables users to compile all of the components of a
Blue Prism Solution into a Package. Including not only Processes, Business
Objects and Work Queues, but also Schedules, Calendars, Tiles and Dashboards.
• A Release is a snapshot of the state of each of the components within a Package at
a particular moment in time. At various stages during the development cycle of a
Blue Prism Solution, Releases will be exported and imported across databases.
Figure10.1 Figure10.2
Figure10.3
Figure10.4
COURSE-2
Module-1 Blue Prism Awareness
Explain what RPA means and understand the need for Intelligent Automation
Describe Blue Prism Digital Workforce and its capabilities
Explain the evolution and vision of Blue Prism
Summarize how Blue Prism can automate and monitor business processes
Module-2 Blue Prism Foundation Training
This module is the 1st part of the course that has been explained in detail.
Module-3 Blue Prism Process Templates
This module will introduce the concept of Blue Prism Process Templates, how to use these
templates, and why it is important to use these templates when starting to build a new
automated Process in Blue Prism.
1.Process Templates : Introduction , Prerequisites ,Availability , Installing
2.Process Template 1 : Overview ,Exception Handling ,Template Pages ,Training Exercise
3.Process Template 2 Overview ,How to use Process Template 2 ,Generic Main ,Features
Example Main Pages
Process Templates
Blue Prism Process templates are provided in the form of a standard Blue Prism xml file,
which can be imported into your new environment. Blue Prism templates have been built
inline with Blue Prism development best practices. Templates are intended as a base
framework for starting a new processes, the idea being that ‘save as’ is used to make a
copy of a diagram to work on. Using a template as the basis of building a new process has
the following benefits:
• Decrease Process development time
• Provide consistency across all Processes, allowing easier understanding and support
• Assist developers in keeping to best practice and to work within the Development
Methodology of an organization
• As process templates are provided through standard Blue Prism Process xml, the template
file should be imported into your environment using the standard File -> Import.
You only need to import once and use the template as many times as you was by save as.
.Process Template 1
Process Template 1 provides a solid base framework for building a basic Blue Prism
Process, which:
• Loads work from a work source into a Blue Prism Work Queue
• Processes items contained in the Work Queue
• Process completes once all items originally loaded into the Work Queue have been
attempted
This Process template has two main types of exception handling logic: functional (or
component) retry Exception handling within sub-pages; and top level Work Queue item
Exception handling on the Main Page.
Figure 3.1
Exception Data Item Configuration
This process template has a very basic Process Template Pages and Configuration. Here
we will give a description of how to configure each of the pages within the template:
Main Page The main page within the process does not do any system navigation or
updates within the systems, but instead simply calls sub-pages that do all the work that is
required. This should leave the Main Page as a simple, high level view of what the process
does. The main page contains some global Environment, Session, and queue related data
items. It has the top level exception handling of the process, to handle exceptions that
bubble up from any sub-page whilst a case is being worked.
Main Page Data Item Configuration
Data Item Data Item Description
Name Type
Process Name Global The initial value of this data item should be set
to be the name of the process you are creating.
The process name could be passed to objects or
subprocesses that it calls, if they have process
specific actions to take.
Queue Name Global The initial value of this data item should be set
to the main Work Queue being used by this
process.
Stop After Session The initial value should be set the time the
Time Variable process should stop running. It might be set to
a time before a system used by the process is
no longer available, or a time when another
process needs to be started instead. This
session variable can be changed by a Blue
Prism Controller at run time if there is an
operational reason that a running session
should finish at a different time to the default.
Stop After Session This data items allows the developer to
Items Variable configure the process to only work a pre-
defined number of cases. The template has the
initial value set to 9999999999, which
effectively means that the process will work all
items. This session variable can be changed by
a Blue Prism Controller at run time if here is an
operational reason to only work a set number
of cases before completing.
Stop ASAP Session This session variable can be changed from
Variable False to True by a Blue Prism Controller to
stop the process. If set to True the process will
stop cleanly, if a case is currently being
worked it will be completed before stopping
Start Up Page Configuration
The Start Up page gets the process ready to be able to work cases. It does this by:
• Performing any configuration and/or verification that is required
• Starting and logging into the systems that the process uses
If there is any validation of the environment required by your process, it should be added
to the Start Up page. Examples of the validation to be added are:
1. Process Template 2:
Process Template 2 is a multi-purpose template designed to be modified into the
foundation of numerous different styles of process. It offers the following in addition to
the capabilities offered in Process Template 1:
• Variations to how the Main Page of the Process works
• Additional Sub-Pages that can be used in your Process
Using Process Template 1 should be mastered before moving onto using Process Template
2.
This section describes how to use Process Template 2 to create a new process.
Process Template 2 contains many different example Main Pages, each called EXAMPLE
Main Page, and with a description of the page in brackets. These example main pages are
aimed to fit many different scenarios for processes that you may want to create.
To use the template to create a new process the modification procedure is as follows. •
Select most appropriate ‘example’ page
• Copy the contents of the selected ‘example’ page on to the Main page
• Delete all ‘example’ pages
• Save as
Figure 3.2
Module-4
Blue Prism Credentials and Credential Manager
Create Encryption Key
1. Log into your local Blue Prism training environment.
2. Click on the System icon to access the System area of Blue Prism
3. From the System Treeview of settings on the left-hand side of the Blue Prism window, look
for the Security grouping and select Encryption Schemes. Figure 4.1
4. If the Security – Encryption Schemes panel looks like the
example below or cont
5. If the Security – Encryption Schemes panel looks like the
example below or contains no entries, then no encryption key
has been setup and you should continue with the following
steps to create one
Figure 4.2
Figure 4.3
For example,‘Centrix Data Solutions: Digital Worker1’ would indicate that the
Credential is used by Digital Worker1 to access Centrix Data Solutions.
6. From the Type drop down list, select the General option. The
other options will be explored later as part of the Developer
Certification training.
7. Within the Application Credentials tab, input the username for
Centrix Data Solutions. This is BP.
8. Now input the password for Centrix Data Solutions. This is
password
As Credential Manager governs access to Credential entries, we must assign
permissions to the new Credential so that our Process and Digital Worker can access
the Credential information. For this exercise, we will assign access to all users,
processes and Resources (Digital Workers), however in reality, permissions would
be granted to a smaller group of authorized Figure 4.6
users etc.
Figure 4.7
Figure 4.8
Figure 4.9
Figure 4.10
13. Click OK. Your new Credential is ready to be used in your process.
Using Credentials in Blue Prism Processes
1. Open your Centrix Data Solutions Process.
2. Locate the Data Items Staff Number and Password and
remove their Initial Values. You can do this by opening the
Properties window for each Data Item and clearing the
Initial Value field.
3. Now locate the Action Stage in your Process diagram
which performs the log into Centrix Data Solutions activity
and add a new Action Stage directly before this Stage. Link
the new Action Stage into your Process diagram.
Your Process diagram should now look like the example
below; Figure 4.11
4. Open the new Action Stage and select Credentials from
the Business Objects drop down list. Credentials is an
Internal Business Object; therefore, you can’t view this
Business Object diagram in Object Studio.
5. Now select the Get Action from the Action drop down list.
6. In the Inputs tab, set the Value column to the name of the
Credential you created earlier. Remember, this is a Text
Input, therefore the value should be enclosed in quotes.
7. Now select the Outputs tab and map the Password output
Figure 4.12
to your existing Password Data Item. 8. Map the Username
output to your existing Staff Number Data Item.
Your Action Properties should resemble the examples below;
9. Press OK to return to your Process diagram.
10. Reset, Save and then Run your Process.
Your process will now retrieve Credential information
from Credential Manager and use this information to log into
Centrix Data Solutions.
Figure 4.13
Module -5
Figure 5.1 Figure 5.2 Figure 5.3
Figure 5.6
Figure 5.7
Figure 5.8
Figure 5.17
Figure 5.18
Figure 5.19
Figure 5.20
Figure 5.21
Figure 5.22
Module -6
ADVANCED ATTRIBUTE MATCHING
Overview of Attributes
Application Modeller The purpose of a Business Object is to make an application accessible
for use by a Blue Prism Process. To create an integration between a Business Object and an
application, you must create an Application Model.
Using Attributes in Application Modeller Each Element from within the application's user
interface is defined by creating a list of Attributes, which combine together to make a
unique fingerprint of that Element. This fingerprint allows a Business Object to correctly
identify the Element so that it can be continually used to perform specified tasks within a
Blue Prism Process.
The Application Modeller extracts information about the characteristics of an Element from
the target application user interface. This information is used to build the digital fingerprint
known as the Attributes List.
Figure 6.3
Match Type: Numeric Match Type Numeric allows you to build match criteria
based on Attribute values such as length and width. (DEALL There are four
numeric operators available when
using Match Type Numeric:
Figure 6.4
Figure 6.6
Attribute Matching Strategy
Matching Strategies Application Modeller Define the elements of an application
that will be used by Object Studio Application Model belongs to this Object
Attribute Matching Strategy As target application technology and user interface
design varies widely, it is impossible to define a single strategy to use in relation
to Element attribute match selection.
Log in window
Matching Strategies Attribute Matching Guidelines Some general guidelines for
selecting effective match Attributes are:
• Carefully select match Elements which uniquely identify your target Element...
using 'least is best approach
• Avoid using Attributes which have the potential to be inconsistent such as Path, X,
Y, Parent X, Parent Y or Class
• Deselect an unused Attribute or Attributes with blank (NULL) values
Data validation
Data Validation At a general level, data validation is the process of ensuring data
has undergone some form of cleansing to ensure it is both correct and useful.
When capturing data, it's critical to verify and validate data before it is used by
your automation. For the purpose of Attribute matching, data validation will allow
you to match Attributes to specific data formats or patterns.
Examples of Data Validations Data validation can be used with Attribute matching
to achieve the following actions:
• Ensuring data is actually present when a process requires it
• Ensuring data is of the correct type i.e. numeric, text or a date
• Checking that data does not exceed a maximum number of characters
Module-7
Blue Prism Associate Developer Next Steps
Get Certified - Take the Blue Prism Associate Developer exam
Blue Prism University offers an Associate
Developer Certification, through our on-line
exam partner PearsonVue. You can find out
more on our Blue Prism University
certification page
Figure 7.2
Figure 8.19
Figure 8.20
CONCLUSION
This project delivers how the Robotic Process Automation works by starting from basic
awareness of the interface and the concept and gives a basic awarness about the
automation process and the blue prism interface and the foundation in the blue prism
can be developed by expaining the project studio and the oject studio seperately and
how the exceptions are managed in the blue prism interface.
Process templates of the work flow are explained an dunderstood to make the working
easy. The Credentials of the blueprism and the credential manager makes it easier to
explore the management of the login and the process edtails of the project.And how the
data items, Attribute matching are managed in the process.