Professional Documents
Culture Documents
RPA NOtes1
RPA NOtes1
Presentation Integration
Benefits of this integration:
Performance is affected when the information is spilled across different web pages
or screens.
The above benefits and limitations might play a role in the Blue Prism product.
With all the basics said, get ready to learn the foundations of Blue Prism.
A big-picture view of how Blue Prism operates is a right place to begin. But before
that, you need to understand more about the product.
In this topic, you will get to know about the important tools used in Blue Prism.
Developers and business analysts create software robots in Blue Prism through
business objects (BO) and processes.
One or more business objects, to interact with the application's user interface.
Process Studio
Process Studio in Blue Prism helps in creating the graphical representation of a
computer program that interacts with applications, helps with data manipulation and
takes decisions as well performs calculations.
The Process Studio resembles other process modeling applications such as MS Visio.
The tool uses standard flow diagram symbols and notation, and graphically defines
the steps in the robot�s process.
Object Studio
The tool that captures user actions on a window or a screen is known as Object
Studio. In other words, Object Studio helps to create the business objects
graphically.
A Process created using the Process Studio calls in these user actions to perform
the desired task.
You will be reading in detail on both Process and Object Studio in the upcoming
topics.
Business objects, processes, and other information are stored in SQL Server-based
Blue Prism database.
Blue Prism�s management tools are used to schedule the execution of software
robots, helps to view information about currently executing robots, and more.
These tools also allow configuring users, viewing audit logs, and performing other
management tasks.
To enable ease of use, all Blue Prism�s client tools are provided as tabs in a
single application called the Interactive Client (IC).
A Process acts just like a human user by invoking the required business objects to
carry out a specific task.
Blue Prism implements presentation integration through Business Objects (BO).
Actions
One or more pages implements all or part of the operation to be performed by a BO.
AM's Connector Functionality
The connector�s task is to manage low-level interaction with an application�s user
interface.
A Windows connector, lets you access Windows applications built using the .NET
Framework, and other Windows-based UI technologies.
A Java connector, to work with UIs created using Swing, Java applets, etc.
To help you grasp the one stated quickly - In an HTML interface, the elements can
be, a field used for entering data or a button to click or a hyperlink.
Application control interface (ACI) defines the elements for each application
screen and makes them available to the pages in the VBO
Now you have decided upon what connector to use and have defined the ACI. Is all
set?
No, you are missing an important piece, you need to implement the required logic.
In a page, user operations are defined as a set of stages along with data items to
hold the information.
A page begins with a Start stage and finishes with an End stage. Based on the
scenario there may be other stages required to perform the required operation.
Page Types
Types
A page can be published allowing it to be called by Blue Prism processes as well as
other software.
A page marked private is available only to other pages in the same BO.
You will now learn about the available stages in the upcoming cards.
BO Stages
Here you go some commonly used stages:
BO Stages
Calculation: Contains an expression that executes a calculation on data items.
Loop: Iterates through a collection of data.
Code: Includes code written in languages like C# and Visual Basic. Used to perform
complex data manipulation.
Decision: Acts like an If statement controls the flow based on the value of one or
more data items.
Choice: Acts like a switch statement, selecting one of several control flow options
based on the value of one or more data items.
Page: invokes another page in this VBO.
Exception: It explicitly raises an exception in the execution of an operation.
Page Operation
An operation or logical flow is created on a page by combining a set of stages.
Hope you are now confident that you can create a page all by yourself!
In the upcoming card, you will understand how a page looks like.
Now take a look at the Log In page. It shows the data items and stages used on this
page.
The data items include what a login page requires, a username and a password.
Now in the next card, you will read a short explanation of the stages available in
the page.
You now have the UI functionalities captured as stand-alone objects, wouldn't you
want to know the big picture and the role these objects get to play?
Move on to the next topic on Process Studio which will help you know what a process
is and how these objects interact with the process in the automation journey.
This is achieved with the help of Process Studio, a tool for creating Blue Prism
processes.
Before looking at this tool, you must understand what a Blue Prism process is!
Blue Prism Process
A Blue Prism Process is built as a flow chart or diagram.
Blue Prism accesses applications through their UI. Similar to how a person might
interact with multiple applications to carry out a series of business steps, a Blue
Prism process invokes BOs to carry out those same steps.
Hope you are now clear and ready to move on to learn about Process Studio.
A Blue Prism process is similar to a BO in the following ways:
In a BO, a published page is called any time, and the BO exposes a set of pages
that can be executed in any order.
In a process, execution always begins on the Main page, and it follows a defined
order.
Process Stages
The process stages in Blue Prism are similar to those in BO, but not identical.
The control flow stages (such as Link, Decision, Choice, and Loop), Calculation
stage, Page stage, the stages for raising and handling exceptions (Exception,
Recovery, and Resume) are available in both Process and BO.
Are you looking at what is the not available list? Keep reading!
Stages not available in a process are Read, Write, Code or Navigate and all those
other stages that are used for working directly with an application�s user
interface. Processes rely on BOs to do such actions.
Process Studio
Blue Prism process is defined in Process Studio.
Various stages are connected together using links to form logical structures, a
process diagram.
Stages are chosen from the toolbar and located on the diagram.
They can be selected, moved, resized, formatted, cut, copied, pasted, and deleted.
Links between stages are created using the link tool. Drag the mouse from the
center of one stage to the center of another.
To select more than one stage at a time, drag without the link tool.
5 of 11
Process Studio
Similar to an Object Studio, every page in a process has its own tab, which allows
the user to divide the process logically.
The tool has a built-in debugger which enables stepping through a process, setting
up breakpoints, and more.
Process studio tracks version control, allowing the user to switch between the old
and new version of the process to find out what has changed.
Process Studio
In case a process has multiple paths, say you are automating hotel room booking
process, process studio will display the real-time percentage of requests taking
success and failure path.
Blue Prism also has a process history tool to track revisions to processes over
time.
Now, check out the next card for a visual explanation of how a process can be
created.
Process Execution
If the process is simple, it can be defined fully in the Main Page.
But in many scenarios, the process will spread across several pages. In such cases,
stages used frequently can be defined in a page which can be called when needed
like a subroutine.
During process execution, the process stages will call operations in BOs as needed.
Process Execution
To pass information to a process, Data Items (that stores data) can be defined in
the process. Or,
You can use a Blue Prism work queue. This will allow multiple processes to read
from a spreadsheet or other file. Or,
Blue Prism processes can get their input from external software, such as an
existing customer workflow system.
As you move along the course, you will read more about Data Items, and Input
Parameters.
Object Studio offers some types of stages which are not available to Process
Studio.
Object Studio does not have a Main Page, but it does have two default pages.
Pages are organized as a flat group rather than the hierarchy as it is in Process
Studio.
Quick Recap
Before you proceed to learn further, A quick recap of what you learned until now:
Circular Paths
Blue Prism focuses on automating repetitive work.
Until now you have been learning a simplistic and linear path approach of process
creation.
But if you are looking at automating a repetitive task, then some steps in the
process will probably need to repeat over and over again.
There is only one outbound link for most stages but no limit imposed on the number
of inbound links it can have (a stage can be approached from more than one
direction).
The image illustrates a simple circular path, a looping diagram with the decision
stage controlling the number of times the logic will be repeated.
What if you want to repeat the logic not just based on a single value but based on
an array?
You will be able to relate collection stage to an array and loop stage with for
each.
Layers of Logic
In a real-world scenario, processes usually will have to deal with many logic
flows, stages, and data items. Hence, a Blue Prism Process will be spread over some
pages arranged in a hierarchy or nested (pages within pages).
A Page Reference stage takes the Process from one page to the start of next page.
Upon reaching the end, the Process comes back up to the Page Reference stage that
called it.
Main page cannot be referenced by other pages.
You must have noticed in the previous videos that by default the process was
created in Main Page.
You need to right-click on the Main Page tab and select �New�.
For the current exercise accept the default name Page 1.
Link the Start stage of the new page to the End stage.
Ok, you've now added a page reference, is that all required?
Say, you have created a simple process that loops based on a count of 3.
Now you have added a dummy page 1 and created a reference stage as well.
After you add the Page Reference stage on the diagram, a window, will pop up.
In there, you must create a reference to the existing page, which is your newly
created Page 1.
Position the Page Reference stage in the path looping back up to the Calculation
stage.
Remake the links to ensure the Page Reference stage is connected to the diagram.
Points to Know
Upon selecting the Go button, the process runs.
Default running speed is slow.
Running speed can be modified by using the drop-down sliding adjuster, just to the
right of the Go button.
A Process can be run one stage at a time, referred to as stepping.
Pause and resume of a running Process can be done using toolbar option.
How to make a running process jump to next stage or pause at a specific stage?
You need to know that the breakpoints will be effective only when the diagram is
open. In case of production, the diagram will not be open during the process
execution so breakpoints will be ignored.
Hope you remember the simple flow diagram explained during the creation of Page 1
in the previous topic.
In that example, Page 1 will repeat the same number of times as Main Page.
If you want to distinguish the execution frequency of Page 1 from that of Main
Page, what will you do?
This is achieved by giving the number of iterations you want Page 1 to perform as
an input.
When you open the properties of the Page Reference stage in the Main Page, you will
see a new row with an empty value in Inputs tab.
Output Paramaters
A process end stage will produce Output Parameters.
In the previous cards, you learned how an input is used to transmit values.
Similarly, an Output is used to transmit a value from an End stage on a lower Page
up to the Page Reference stage on the higher Page.
Data Items
Data items are similar to variables used for storing data.
By default, it can be used by stages available on the same page they are defined,
known as local Data Items.
To make it global, the property of Data Item must be modified, uncheck Hide from
other pages in the Process checkbox.
The two local Data Items on Page A is not available to any other Page.
The four local Data Items on Page B is not available for other pages.
The Global Data Item Global 1A is present on Page A but is available for other
pages.
Global 1D is on Page D but is available everywhere.
Even though there are no Data Items present on Page C, it can still use two the
Data Items from other Pages - Global 1A and 1D.
Yes it sounds simple and easy, but there are certain things to take care:
Global names must be unique, unlike locals that can share the same name as long as
they are available in different pages.
When a Data Item is global, it can be modified in any page so you must be aware of
where ever it is being used.
Track of the current value of a global must be kept carefully, to avoid the risk of
undesired impact.
Number, Text, Flag, Date, Password (Used for sensitive data), Datetime, Time,
Timespan, Image, Binary.
Control Room
Though you can run a Process from the Process Studio, in production, they are not
run in Process Studio.
Move on to the next card and watch the video to learn about the different sections
available in the control room and how to publish and run a process from it.
Topic Prelude
In real-world scenarios, Blue Prism Process will make use of work queues.
New inputs will be fed into the queue, which is then updated with results after
each input is processed.
Work Queue Features
The same queue can be used by multiple machines retrieving different inputs at the
same time.
Metrics such as volumes, performance and exception details can be extracted from
queue data.
A Scenario
Consider a scenario where a customer has called in a store and requested for an
item to be ordered.
The store assistant must determine the shipping cost and then place the order.
In this ordering process, the store assistant interacts with two different
applications. Entering information into every application and gets back some
result.
As indicated in the above graphical illustration, the store assistant enters the
customer's name and mobile number into a Windows application, which in turn returns
the mailing address.
As a next step, the address is validated to ensure that it contains all the
required fields.
In the end, the store assistant enters the required details such as name and
mailing address into a Web-based application, which in turn determines the shipping
cost and then places the order.
Blue Prism Automation
To automate the above scenario in Blue Prism, the developer must use the Object
Studio to build a business object for each application.
These business object must implement the same actions that the store assistant
performs on this application.
Such as, the BO that interacts with the Windows application might contain:
a login action
an action that enters the customer�s name and mobile number
an action that retrieves the customer mailing address
a logout action.
In Blue Prism, software robots are executed in an organization�s data center rather
than on user desktops.