0% found this document useful (0 votes)
359 views

Interviewbit - Pega Interview Questions

Uploaded by

sridhar varma
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
359 views

Interviewbit - Pega Interview Questions

Uploaded by

sridhar varma
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 48

Pega Interview Questions

To view the live version of the


page, click here.

© Copyright by Interviewbit
Contents

Pega Interview Questions for Freshers


1.   What do you mean by workspace or studio in the context of Pega? What are the
different types of workspaces offered by Pega?
2.   Explain about classes in Pega. What are the different types of classes available in
Pega?
3.   What do you mean by a work object in the context of Pega? How do you create a
work object in Pega?
4.   What do you understand about DCO in Pega? What are the benefits of DCO in the
context of Pega?
5.   What do you know about SLA in the context of Pega? What is its importance?
6.   What are the different types of SLA? Explain them.
7.   Describe the different types of layout available in Pega.
8.   How would you create a dynamic layout in Pega?
9.   Explain Page-Validate and Property-Validate methods in the context of Pega. How
are they different from one another?
10.   Explain about Access Groups and Access Roles. Differentiate between them.
11.   Explain Requestor Type in Pega. What are the different types of Requestor types
in Pega?
12.   Explain Flow Action in the context of Pega. What are the different types of Flow
Actions available?
13.   Explain PRPC in the context of Pega. What are the benefits of PRPC?
14.   Explain activities in the context of Pega. What are the best practices while using
activities?
15.   Explain the decision table and decision tree in the context of Pega. What are the
differences between them?
16.   Explain Rule Resolution in the context of Pega. What are its benefits?
17.   Explain declarative rule in the context of Pega.
18.   What
Page 1
do you mean by an agent in the context of Pega? Explain.
© Copyright by Interviewbit
19.   Explain data pages in the context of Pega.
Pega Interview Questions

Pega Interview Questions for Experienced


20.   Explain Case Management in the context of Pega. What are its benefits?
21.   What do you mean by Locking in the context of Pega? What are the different
types of locking? Explain them.
22.   What do you understand about an exposed property in the context of Pega?
23.   What is the Declare Index in Pega? How can you set up a declare index?
24.   How can you measure the performance of your application in Pega?
25.   Explain Work List and Work Basket in the context of Pega.
26.   Explain Declare Triggers in the context of Pega. How can you create a Declare
Trigger in Pega?
27.   What do you understand about Forward Chaining and Backward Chaining?
Explain with examples.
28.   Explain Spinoff and Split join shape in the context of Pega.

Page 2 © Copyright by Interviewbit


Let's get Started
Pega is a low-code platform that lets companies unify their processes and customer
journeys from beginning to end. In the application market, low code is a relatively
new word. It usually refers to an application that allows you to develop code using a
simple interface rather than having to write it yourself. These applications help you
write code by writing it for you. Rather than learning a programming language, you
simply learn how to use the so ware, and it takes care of the rest. Drag and drop
graphic interfaces make it easy to learn how to utilize the so ware. Although you
must learn how to use the application, being an expert in Pega is significantly easier
than becoming an expert in .NET or Java.
Pega eliminates one of the most significant roadblocks to modern business: the
proliferation of applications and systems. The Pega Platform allows enterprises to
have a single view of a customer, a case, and a workflow, as well as all the
accompanying data and intelligence, by establishing a customizable platform that
sits above your other systems. Its platform allows for the creation of completely
customizable user interfaces. Its browser-based applications make it convenient
because no so ware installation is required. It allows for the learning of past
behaviour through adaptive analytics.

Pega Interview Questions for Freshers


1.   What do you mean by workspace or studio in the context of
Pega? What are the different types of workspaces offered by
Pega?
A workspace is a place where you can use specialized tools and functionalities. You
may let team members focus on tasks that fit with their expertise by using different
workspaces to create and administer your application.

Page 3 © Copyright by Interviewbit


Pega Interview Questions

Pega Platform offers four studios, or role-based authoring workspaces and they are
as follows:
App Studio
Dev Studio
Prediction Studio
Admin Studio

Each studio speeds up application development and increases productivity by giving


users role-based capabilities.
Using role-based workspaces in the Pega Platform can help you increase productivity.
Users may see what they require when they require it. Front-end developers, for
example, can work in one workspace to create interface channels, while system
administrators can switch between workspaces to configure additional features and
monitor run-time outcomes.
Multiple workspaces are available to users. The system opens the default workspace
when users log in. Users have access to various workstations and can switch between
studios.

2.   Explain about classes in Pega. What are the different types of


classes available in Pega?

Page 4 © Copyright by Interviewbit


Pega Interview Questions

The Pega Platform allows users to reuse rules across case types and applications.
Developers frequently reuse rules in their systems, ranging from single data pieces to
complete processes. Reusing rules increases the quality of an application while also
cutting down on development time. Pega Platform divides rules into classes based on
their re-usability inside an application. Each cluster is referred to as a class. Each
application is made up of three different class kinds.
Work Class: Processes, data items, and user interfaces are all part of the Work
class, which provides the rules that govern how to process a case or cases.
Integration Class: The Integration class holds the rules that specify how the
application interacts with other services, such as the integration resources that
connect it to a customer database or a third-party web server.
Data Class: The rules that specify the data objects used in the application, such
as a customer data type or order items data type, are stored in the Data class.
When we add a rule in App Studio, it automatically selects the proper class. We can
concentrate on what we want the rule to accomplish rather than how to develop it.
We can write the rule in Dev Studio if you need control over the class. Switching to
Dev Studio is a good idea if we want to write a rule that we can reuse in another app.

3.   What do you mean by a work object in the context of Pega?


How do you create a work object in Pega?
A work object is the most basic unit of task completion in an application, as well as
the most basic collection of data on which a flow runs. Work objects are generated,
updated, and eventually closed when an application is used (resolved). A unique ID
(property pyID), an urgency value, and a status are all assigned to each work object
(property pyStatusWork). A work object is also known as a work item in some
companies.
Work objects under specific application settings may have a traditional name from
the pre-automation era. Work objects in a help desk or service desk system, for
example, are frequently referred to as trouble tickets.
We can create a work object in Pega in the following steps :

Page 5 © Copyright by Interviewbit


Pega Interview Questions

Create a button that looks like a section or a header.


Click the action tab a er expanding the cell property within the button.
Add an action set to the button.
The button should have a focus class and a flow name.
With “Param.prevRecordkey,” we can get the current work object ID.
Open the case with "Obj-Open-By-Handle."
Copy the data from pagers with Page-Copy.

Also, a work object can be created from an activity. To create a workpage for the case
type we desire, we use the activity "createWorkPage." The data transform that will be
used to initialise properties might be specified. If it's a stand-alone work object, use
"addWork," and if it's a covered work object, use "addCoveredWork."

Page 6 © Copyright by Interviewbit


Pega Interview Questions

4.   What do you understand about DCO in Pega? What are the


benefits of DCO in the context of Pega?
DCO stands for Direct Capture of Objectives. It is the process of acquiring,
organising, and storing data by using Pega's integrated solution, the Pega Platform.
Processes and tools for gathering and organising application artefacts are included in
DCO. More crucially, IT, business, and testing teams, as well as other resources,
employ this enabling technology. It saves time, effort, and money while also
improving the quality of projects and people's lives.

Page 7 © Copyright by Interviewbit


Pega Interview Questions

DCO is not a methodology or a step in the methodology development process. It's not
just one tool. Instead, the goals and benefits are to centralise the data so that it may
be used continually across departments at the right time and at the right level. DCO
eliminates communication obstacles by providing a centralised repository for linked
application artefacts (objectives, requirements, specifications, and implementation
rules). All resources have real-time as-built documentation and a single view of the
application.
The following tools are used by DCO to automate the work:
Case Lifecycle Manager
New Application Wizard
Application profiler
Document generation
Effort Estimation
Specification documents
Following are the benefits of DCO in Pega:

Page 8 © Copyright by Interviewbit


Pega Interview Questions

DCO enables collaborative teams to model situations that must be addressed by


the application's end users. The modelling and simulation tools allow users to
take a critical interim step a er documenting the application but before
incurring the cost of development to see if the so ware is meeting our
objectives. When we can think through and work out solutions as part of the
so ware development life cycle, we are less likely to be blindsided in
production.
Organizations can use DCO to improve their efforts and use iterative processes.
Issues and risks are not allowed to be discovered and mitigated at the
conclusion of a project; they are detected and mitigated in real-time. The
so ware development process is more visible, and it allows teams to learn and
improve on a constant basis. DCO technologies and best practices give
organisations several ways to deliver go-live, increasing their return on
investment and allowing them to reliably accomplish their objectives.

5.   What do you know about SLA in the context of Pega? What is


its importance?

Page 9 © Copyright by Interviewbit


Pega Interview Questions

SLA is an acronym for Service Level Agreement. It is one of the most useful features
of the Pega CRM platform. As part of the case management process, Service Level
Agreements allow us to set targets and timelines. The major goal of SLA is to assist
the task force in completing all tasks on time. Pega Rules Process Commander will
keep track of each SLA rule's performance of a specific event action that was
configured for that rule. By increasing the urgency number, also adjusts the urgency
associated with that assignment. This may draw attention to the item on the
employee's to-do list because it necessitates attention. So we can sort the work-list
based on the task's urgency.

A Service Level Agreement (SLA) establishes time intervals as a goal and time frame
for standardizing how you solve work in your application. It establishes a time limit
for completing the work. Pega establishes an SLA when we set a goal and a deadline.
Service levels can be set for processes, steps, stages, and entire classes.
There are four levels in SLA. They are as follows:

Page 10 © Copyright by Interviewbit


Pega Interview Questions

Start: This is the point at which the service level timer starts ticking. It all starts
at the zeroth hour.
Goal: Its purpose is to specify how long the assignments should take. This step is
counted from the start of the assignment or case.
Deadline: The term "deadline" refers to the amount of time a case or process
can take before it is considered late. It is calculated from the start of the
assignment or case.
Passed Deadline: When the assignment or case has passed the deadline, the
term "passed deadline" is used to indicate when further action should be taken.
It calculates the amount of time that has elapsed since an assignment's
deadline.
Following are the benefits of SLA :

Page 11 © Copyright by Interviewbit


Pega Interview Questions

SLA ensures that your service provider and you are on the same page as far as
standards and services are concerned. Setting explicit and measurable rules is
vital since it reduces the possibility of client dissatisfaction and provides
remedies if the commitments are not met.
SLAs mention recourse to be taken in case of service commitments failure. If
your service provider fails to meet their duties, it will have serious ramifications
for your company's reputation. As a result, if performance standards are not
reached, we must incorporate repercussions in the SLA.
Your clients will have peace of mind with SLA. They have a contract that they
may refer to in order to hold their service provider accountable and to specify
the type of service they anticipate. They can lessen some of the consequences if
the agreed-upon conditions are not reached by receiving financial
compensation from their supplier.

6.   What are the different types of SLA? Explain them.


Following are the different types of SLA:

Page 12 © Copyright by Interviewbit


Pega Interview Questions

Assignment SLA: Assignment SLA is an SLA that refers to an assignment. This SLA
begins with the creation of the assignment and ends with the completion of the
assignment. The assignment urgency is set in the attribute pxUrgencyAssignSLA on
the newly Assigned Page.
Case Level SLA: When an SLA is referred to at the case level, it is referred to as a Case
level SLA. This SLA is relevant throughout the lifecycle of a case. It begins when a case
is opened and concludes when the case is closed. The standard property pySLAName
is used to identify this SLA under the workpage. It's set in pyWorkPage's
pxUrgencyWorkSLA parameter. The pxUrgencyWorkSLA property under pyWorkPage
controls the urgency of case-level SLAs.
Stage Level SLA: When an SLA is referred to at the stage level, it is referred to as
Stage level SLA. It begins when a case enters a stage and ends when it exits the stage.
The pxUrgencyWorkStageSLA property under pyWorkPage controls the urgency at
the Stage level.
Step level/Flow level SLA: An SLA is considered a Step level or Flow level SLA when it
is referred to as a step or flow level. A step-level SLA begins when a process or step is
initiated and ends when it is completed. When a flow is begun, a flow level SLA is
started, and when a flow is stopped, it is stopped. If a step SLA is present, it takes
precedence over a flow SLA. Step SLA can be referenced in every step under the stage
in the case type rule. The process tab of the flow rule refers to a flow SLA. The
pxUrgencyWorkStepSLA property under pyWorkpage controls the flow or step level
urgency.

7.   Describe the different types of layout available in Pega.


Following are the different types of layout available in Pega:

Page 13 © Copyright by Interviewbit


Pega Interview Questions

Screen Layout: Screen layouts are only used within a harness and are typically
used to establish portals for an application.
Dynamic Layout: A dynamic layout is a DIV-based layout that allows content to
be displayed in a variety of ways.
Column Layout: A Columns layout allows you to show major content, like a
work item, alongside supporting stuff, like an attachment.
Grid Layout: Table layouts make it easier for users to obtain and compare data.
Tables can be used as a flexible base for users to process vast volumes of data in
your apps. Tables in price comparison so ware, for example, can assist
customers in quickly identifying the best deal.
Tree Grid Layout: The properties in pages in an embedded Page List property
can be viewed, navigated, and accessed using a tree layout. To identify entries of
current interest, the user can swi ly extend and collapse branches of the tree.
In sections, dynamic layouts and column layouts are employed. In a dynamic or
column layout, you can add content to a section, such as properties, controls, and
other sections. The format of the skin determines the positioning, alignment, width,
and arrangement of components in a layout.

8.   How would you create a dynamic layout in Pega?

Page 14 © Copyright by Interviewbit


Pega Interview Questions

Following steps must be followed to create a dynamic layout in Pega :


1. Look for and open a Section form that already exists.
2. Expand the Structural list on the Design tab, then drag the Dynamic layout onto
the work area.
3. Click the View properties icon in the Dynamic layout header.
4. Set the layout format in the Properties window in either of the following ways:
1. Choose one of the predefined formats.
2. Select Other and then specify the custom layout format in the adjacent
field to use a skin-defined custom layout format.
5. Select when you want the Dynamic layout to appear in the Visibility field in
either of the following ways:
1. Choose one of the pre-defined options.
2. Select Condition (expression) and then the Open condition builder icon to
construct your own condition.
6. Submit the form.

9.   Explain Page-Validate and Property-Validate methods in the


context of Pega. How are they different from one another?
Page-Validate: This method is used to check all of the properties on a page. If a
page has embedded pages, this method validates all of the attributes in a
recursive manner. This method is time-consuming and uses a lot of system
resources. Use the Obj-Validate method with the Rule-Obj-Validate rule to
validate specified properties.
Property-Validate: This method is used to set limits on the value of a property.
To implement constraints, use the Edit validate rule in conjunction with the
Property-Validate method. The Property-Validate method can be used to
validate multiple properties.

10.   Explain about Access Groups and Access Roles. Differentiate


between them.
Access Group :

Page 15 © Copyright by Interviewbit


Pega Interview Questions

Access Group is used to restrict access to our application’s functionality. To


accomplish varying levels of access control, we can create multiple access groups for
the same application.
An access group decides on the following:
A er logging in, users can access the portals.
The roles, or privileges, that users have access to.
Advanced parameters are applied to new rules, such as the default rule-set
name and version.
The Operator ID of a user is used to associate an access group with that user. When a
user logs in with more than one access group established, the application associated
with the principal access group is used. Privilege inheritance can also be used by
security managers to make the process of allowing the user access to a feature
protected by privilege easier. The Data-Admin-Operator-AccessGroup class defines
access groups.
Access Roles :
Through the Access of Role to Object and Access Deny rule types, access roles
determine the classes that a user can see, alter, and delete.
To grant permissions (capabilities) to users, use an access role name. In requestor
type and access group instances, access roles can be mentioned. For a range of users,
the Pega Platform includes built-in access roles ( names that begin with PegaRULES:
):
Guests
Administrators
Developers
Authenticated work users
The Rule-Access-Role-Name rule type defines access roles.

Page 16 © Copyright by Interviewbit


Pega Interview Questions

Difference :
Authorizations are granted according to a user's access group rather than their
role. The degree of authorization for the access group is determined by the most
permissive role in the access group.
A list of Data-Admin-Operator-AccessGroup instances is displayed on the Access
Groups tab. The table shows the system's access groups and the number of
operators assigned to each group whereas for the present application, the
Access Roles tab displays a list of Rule-Access-Role-Name rules. You can examine,
add, and remove roles from this tab.

11.   Explain Requestor Type in Pega. What are the different types


of Requestor types in Pega?
A Data-Admin-Requestor instance defines a requestor type. The BROWSER requestor
type, for example, indicates characteristics of interactive user connections, such as
guest connections, utilizing Internet Explorer or another web browser. Agents employ
the BATCH requestor type for background processing.

Page 17 © Copyright by Interviewbit


Pega Interview Questions

Pega Platform comes with four requestor types for the system name we specify
during installation, as well as a reserved requestor type prpc.BROWSER for
exceptional cases. Typically, we only require the four requestor types that contain
your system name. If we want to modify the system name a er installation, we go to
Designer Studio => System => Settings => System Name to get to a landing page tab
where we can do so. When we change a system's name, new requestor instances are
created that correspond to the previous name's instances. If the prior system name
did not include all requestor types for some reason, the missing requestors are also
produced when the system is renamed.
Following are the different requestor types in Pega:

Page 18 © Copyright by Interviewbit


Pega Interview Questions

Application:This is used by listeners and external client systems to access the


Pega Platform, such as through a service request (other than JSR-168 requests
using Rule-Service-Portlet rules). Requestor IDs that begin with the letter A are
used in requestor sessions that use this requestor type instance.
Batch: This is used by listeners, services, agents, and daemons all executing
background processing. The requestor ID for requestor sessions using this
instance begins with the letter B. All BATCH requestors have access to the
PRPC:Agents access group when it is first implemented. If you make a change to
Data-Admin-Requestor.BATCH so that it no longer has access to the PRPC:Agents
access group and subsequently upgrades the Pega Platform, the system may fail
to start.
Browser: This is used for accessing the Pega Platform portal via a web browser
via HTTP or HTTPS, or from a browser displaying a Pega composite application.
The requestor ID for requestor sessions utilising this instance begins with the
letter H. All BROWSER requestors have access to the PRPC:Unauthenticated
access group when it is first implemented.
Portal: This is used in conjunction with Service Portlet rules, for HTTP access as
a portlet. The requestor ID for requestor sessions utilising this instance begins
with the letter P.

12.   Explain Flow Action in the context of Pega. What are the


different types of Flow Actions available?
A flow action is a decision that users can make as an interim or final disposition for an
assignment they're working on. The Rule-Obj-FlowAction rule type is used to define
each flow action.

Page 19 © Copyright by Interviewbit


Pega Interview Questions

There are two sorts of flow actions:


Connector Flow Actions: On a Visio presentation, connector flow actions
appear as lines in the Diagram tab of a flow rule. A line emerges from an
assignment shape and terminates at the flow's next shape. Users select a
connector flow action during runtime, complete the assignment, and move the
work item along the connection to the next form.
Local Flow Actions: When a local flow action is selected at runtime, the
assignment remains open and on the worklist of the current user. The
Assignment Properties panel records local flow actions that aren't displayed on
the flow diagram.
Take, for example, an application that facilitates employee recruitment operations.
When completing an assignment that requires the employee to evaluate the quality
of a candidate (based on a résumé and application form), the employee enters his
judgments and reasoning in the application and then selects one of three flow
actions: Advance, Reject, or MoreInfo. These flow actions may employ distinct user
form displays, such as in the action section of a perform harness or in a modal
dialogue, and may require different input fields.

Page 20 © Copyright by Interviewbit


Pega Interview Questions

13.   Explain PRPC in the context of Pega. What are the benefits


of PRPC?
PRPC stands for Pega Rules Process Commander. Pegasystems is built on the PRPC
foundation. It is totally model-driven, allowing the creation of dependable and
efficient applications without the use of any code, including SQL, Java, CSS, or HTML.
PRPC is a so ware platform that enables companies to combine all of their diverse,
complex business procedures and methods into a single platform. It allows you to
combine multi-stream processing into a single system by automating, documenting,
and simplifying business processes. 

Pega PRPC is made up of two unique entities.


Process Commander: Sets of pre-configured rules that serve as a foundation for
customization and development.
Pega Rules: A Java-based Object-Oriented Rules Engine powers PEGA Rules.
PRPC attempts to achieve the following business benefits :

Page 21 © Copyright by Interviewbit


Pega Interview Questions

Businesses can use the PRPC platform to combine all of their independent,
separate, and multiple business procedures and rules into a single platform.
It enables corporate processes to be automated, documented, and streamlined.
Multi-stream methods can be combined into a single system.
Data can be transferred between frameworks and processed, segregated, and
decoded.
The purpose of PEGA PRPC is to cut down on the costs of any adjustments.

14.   Explain activities in the context of Pega. What are the best


practices while using activities?
Activities in Pega Platform automate processing. Activities are scripted in Dev Studio
and consist of a series of stages that must be completed in the order specified. When
more appropriate rule types are unavailable, usually due to more sophisticated
computations or procedures, or when a rule requires an activity to run, activity rules
automate the system. Declare On change, for example, necessitates the usage of an
activity to start a process or pause work when the value of a particular property
changes. Control returns to the rule that called the action a er the activity is
completed.
For example, an insurance firm is obligated to upload insurance claims to the
Registry of Motor Vehicles. To minimize the impact on users, automated uploads take
place during off-peak hours. An activity can be configured in Pega Platform to allow
the system to automate claim uploads without the need for user participation.

Page 22 © Copyright by Interviewbit


Pega Interview Questions

Following are some of the best practices that one should keep in mind while using
activities in Pega :
Keep activities to a minimum. Limit your actions to no more than 25 steps, and
make sure that each one is focused on achieving a single goal.
Use alternate rule types whenever possible, such as a data transform to set a
property value.
Hand-coded Java should be kept to a minimum. When standard or custom rule
types, library functions, or activity methods are available, skip the Java stages in
activities.

15.   Explain the decision table and decision tree in the context of


Pega. What are the differences between them?
Decision Table:

Page 23 © Copyright by Interviewbit


Pega Interview Questions

In case of a decision table, the values in a column in a decision table evaluate against
the same property/operator pair, such as Gender =. When developers need to analyse
several different combinations of the same set of properties or conditions in order to
produce a single value or property, they can use a decision table. For example, a
corporation determines bonus eligibility based on the number of years spent at the
company and ratings on five employee assessment measures.
Decision Tree:

Page 24 © Copyright by Interviewbit


Pega Interview Questions

In a decision tree, each branch compares the property/operator pair to a single value
in order to take an action, such as returning a value or evaluating a nested condition.
When evaluating requirements on multiple attributes that are reliant on other
conditions, developers might employ a decision tree. In a decision tree, each branch
is assessed, and any branches that evaluate to true perform the action that follows,
such as continuing the evaluation to the nested condition. A language learning
so ware, for example, is doing significant A/B testing, with some users receiving
hearts and others receiving stars for their efforts. Hearts and stars have their own
properties with their own worth. Based on the number of hearts or stars linked with
the account, a decision tree examines the various prizes that users are qualified for.
When a comparison evaluates to true, both decision tables and decision trees
analyze characteristics or conditions to deliver outcomes. Decision trees evaluate
against distinct characteristics or conditions than decision tables, which evaluate
against the same set of qualities or conditions.

Page 25 © Copyright by Interviewbit


Pega Interview Questions

A business stakeholder or low-code developer can easily configure and change


dependent conditions that evaluate against distinct characteristics due to the
decision tree's line-by-line layout. When a decision table is used in a circumstance
where several criteria evaluate against the same property, the decision table will
include empty boxes where a value is not required for the conclusion. A business
stakeholder or low-code developer can easily configure and change a decision that
evaluates against many of the same properties due to the decision table's table
structure.

16.   Explain Rule Resolution in the context of Pega. What are its


benefits?
The search technique used by the system to discover the best or most appropriate
rule instance to apply in a given is known as rule resolution.
Except for a few rule types — classes that inherit from the Rule- class — rule
resolution applies to all rule types. Instances of classes derived from the Work-, Data-,
or any other base class are not affected by rule resolution.
Despite the fact that the rule resolution process is fast and invisible, it is critical to
comprehend how it works. Make key component value selections based on how you
want rules to be found via rule resolution when you construct applications. The rule
resolution process can be speed up by using an in-memory rule cache. If the system
discovers an instance (or instances) of the rule in question in the cache, it accepts the
candidate rules from the cache and bypasses many steps in the resolution process.

Page 26 © Copyright by Interviewbit


Pega Interview Questions

The following are some of the advantages of rule resolution:


Across apps and organizations, rules can be shared. Object-oriented so ware
development has many advantages, including sharing and reuse.
More explicit rules stated at a lower level can override rules defined at a higher
level. While this reduces the value of sharing, it gives much-needed flexibility
while highlighting exceptions.
Even inside a single rule-set, rules might have many versions, and security rules
limit which users view and execute which versions. This makes application
development, testing, and patching easier.
With little conflicts and interference, a single Pega Platform system can host
many apps, multiple organizations, and multiple versions of a single application.
Applications can be built independently of one another, but they can all be
based on the same set of rules that are locked (and hence will not change).

17.   Explain declarative rule in the context of Pega.


A declarative rule is an instance of a subclass of the Rule-Declare-class.
In a Declare Expression, Constraints, Declare On Change, or Declare Trigger rule, we
can specify needed relationships among attributes. When the value of a property is
involved in any of these declarative rules, the system checks an internal dependency
network for other values that are affected and does other processing based on the
network's configuration. This is referred to as Forward chaining.

Page 27 © Copyright by Interviewbit


Pega Interview Questions

Most declarative rules are reevaluated a er the following types of events:


When users upload an input form, it is evaluated at the end of the input
processing.
During the execution of an activity, assessment takes place at each step, a er
the method has completed but before the evaluation of a transition in that
phase.
As control passes from one job (one shape on the Visio flow diagram) to the next
during flow execution.
When the work item progresses from one form to another and within
connectors at the end of a flow transition (if a relevant property is set).
When the value of any of the attributes involved in the rule changes, index rules
are activated.
When an object is saved to the database, trigger rules are activated.
Decision tree rules, decision table rules, and case match rules do not employ forward
chaining and are only assessed when explicitly requested.

18.   What do you mean by an agent in the context of Pega?


Explain.
An agent is a server's internal background process that performs actions on a regular
basis. Agents deliver email notifications about assignments and outgoing messages,
generate updated indexes for the full-text search feature, synchronize caches among
nodes in a multiple node system, and other system duties. Agents are self-contained
and asynchronous: the activities they invoke operate on their own timetables, and a
second activity execution can begin before the first one has finished.

Page 28 © Copyright by Interviewbit


Pega Interview Questions

Agents are defined by their own set of rules (Rule-Agent-Queue rule type). Agent
Queue data instances are used to enable and schedule agents (Data-Agent-Queue
class). If potential deadlock and other locking issues are appropriately managed by
the activities in a multi node cluster, an agent can execute on numerous nodes, even
each node, to achieve high throughput.

19.   Explain data pages in the context of Pega.


A data page in a Pega Platform application retrieves data from a specified data
source and caches it in memory. The integration to the data source is managed by a
data page, which separates business activities from any integration details. This
separation enables app developers to use supplied data in their apps without having
to know the data source or connection specifics. Unlike most Pega Platform pages,
applications seek to populate the contents of a data page only when the page is
requested, rather than through an explicit action. Data pages are classified as
declarative rules since their content is available on demand. To distinguish a data
page from other pages in memory, Pega Platform automatically adds the characters
D_ to the name.

Page 29 © Copyright by Interviewbit


Pega Interview Questions

A developer must give four crucial pieces of information when creating a data page.
They are as follows :
Structure of the page
Object Type of the page’s content
Edit Mode supported
Scope of the data page

Pega Interview Questions for Experienced


20.   Explain Case Management in the context of Pega. What are
its benefits?
Case management is a so ware-based strategy to assist people with day-to-day tasks
and automating work from start to end. Case management entails visualising your
business process, encompassing people, data, and actions, in order to plan a flexible
path that leads to your goal. By addressing business cases from start to finish and
combining human activities with digital automations, we employ case management
to produce goal-oriented solutions.

Page 30 © Copyright by Interviewbit


Pega Interview Questions

For example, we can simulate the process of accepting candidates a er examining


job applications, from gathering documentation from a candidate to conducting a
job interview to receiving final approval. In case management, you can dynamically
alter your work to respond to changing conditions, in addition to designing the most
common path to resolution. When this step is relevant to the current circumstance,
your business procedure can include an additional employment interview. You can
successfully address business procedures that follow an ambiguous or unexpected
workflow with case management.

Following are the benefits of Case Management :-

Page 31 © Copyright by Interviewbit


Pega Interview Questions

Visualization of business processes: Visualization allows users to better


comprehend and assess a business process. Users can take the most efficient
path to their business target a er generating a visual depiction of the workflow,
people, and data involved in the business process. Pega Platform is a simple
editor that allows you to define your business process in a way that matches the
work you need to do. You may transparently explain your business process to
others, such as stakeholders, using visualization.
Goal-focused business outcome: Users can concentrate on the most important
aspect of a business process: achieving a specified goal. Users can achieve their
business goals by following a predetermined path or by modifying the order of
operations in response to dynamically changing conditions.
Non-linear commercial actions are supported: Users can begin supporting
business procedures that are most relevant to the current situation on a flexible
basis.
Ad-hoc Tasks: By establishing dynamic tasks and allocating them to individuals,
users can go beyond the established order of assignments. The assignment
resolution is aided by adding instructions and defining goals and deadlines.
Increased business adaptability: Users can shi a business process to a
previous or subsequent milestone for more processing to guarantee that the
task is completed completely.
Increased transparency: Users can see exactly how a business process gets to a
specific point, even a er re-routing and additional processing, by following an
audit trail and examining changes in individual fields and values.

21.   What do you mean by Locking in the context of Pega? What


are the different types of locking? Explain them.
When two or more actions try to update a case at the same time, the most recent
action may overwrite data written by the prior action. Overwrites can cause data
corruption or loss, causing delays in case processing and possibly resulting in an
inaccurate case resolution. If an application supports several users at the same time,
a case locking strategy is critical for data integrity.

Page 32 © Copyright by Interviewbit


Pega Interview Questions

In Locking, we configure an appropriate locking technique for each case type to avoid
data corruption or loss due to overwrites. Pessimistic locking and optimistic
locking are two solutions that Pega Platform enables to balance the need for user
access with the necessity for data security.
Pessimistic Locking: 

When an application uses a pessimistic locking approach to open an object, it uses an


exclusive lock. When a person or a system opens an object, they have exclusive access
to it until the application unlocks it. Other users are unable to edit the item while it is
locked.
For example, an underwriter examines an open life insurance claim to determine the
amount of benefit that a claimant is entitled to. As the underwriter collects evidence
and updates the case, a complex claim may necessitate extensive computations and
referrals to third parties, and any additional modifications may override claim values
and generate an inaccurate payout to the claimant. Apply a pessimistic locking
approach in this situation to prevent other users from overwriting data when the
underwriter updates the claim and changes the payout amount.
Optimistic Locking: 

Page 33 © Copyright by Interviewbit


Pega Interview Questions

When an application uses an optimistic locking approach, it does not use an exclusive
lock when opening an object. Instead, the item can be opened and edited at any
moment by any user or the system itself. Before making any modifications to the
item, the program checks to see if it has changed.
A manager, for example, may need to evaluate the most recent data for a given
service request instance. A case worker may need to update the case at the same
time as the manager does not need to update any information. Apply an optimistic
locking approach in this situation to prevent the manager from locking the case and
preventing a case worker from completing an assignment that would push the case
toward resolution.

22.   What do you understand about an exposed property in the


context of Pega?
An exposed property is a Single Value property that is viewable as a column in a
database table. A particularly structured Storage Stream or BLOB column contains
aggregate properties, properties within an embedded page, and properties that are
not exposed. A Storage Stream column named pzPVStream may be found in most
PegaRULES database tables.
The record selection actions in list view and summary view rules are influenced by
which properties are exposed. Your database administrator can make a property that
was previously only saved inside the Storage Stream column into a distinct exposed
column in many circumstances.

Page 34 © Copyright by Interviewbit


Pega Interview Questions

Single Value properties at the top level can only be exposed. If your application
requires a column for embedded property values, the values can be transferred to
the top level or provided indirectly using Index-class instances.

23.   What is the Declare Index in Pega? How can you set up a


declare index?
In Pega, Declare Index is a rule type that exposes aggregate properties like Page/ List/
Group for reporting purposes.They are rule instances of the Rule-Declare-Index. 
When an Insert/ Update/ Delete operation on the work object is followed by a
commit, it helps to populate the corresponding index table. They can be found under
the SysAdmin Category in Records explorer.
There are two ways to set up a declare index in Pega. They are as follows :
Using the Declarative Wizard Approach : 
1. Prepare ahead of time to identify the RuleSet and Version that will contain the
wizard's rules.
2. Check existing Declare Index rules to see if the property has already been
indexed. (Do not try to index a property that has previously been indexed with
this wizard.)
3. In the Application Explorer, look for the embedded property. A Page, Page List, or
Page Group property can contain the property.
4. To get to the Application Explorer context menu, right-click. From the menu,
choose Index Property.
5. Select a RuleSet and Version in the first pop-up window to store the rules
generated by this wizard. Submit the form.
6. The class, property, and Declare Index rule produced are identified on a
confirmation form. The indexing process has begun. To review the regulations,
click the pencil symbol.
Using the Manual Approach :

Page 35 © Copyright by Interviewbit


Pega Interview Questions

Determine which property(ies) on the source object will be used to create the
index instance.
Create a concrete class that extends the Index base class and holds the new
index objects. The key for concrete classes generated from the Index base class
is made up of three attributes in that order: pxInsIndexedKey, pxIndexCount,
and pxIndexPurpose.
Determine which database table the new indexes will be stored in. If necessary,
create a database table and associate it with the class using a Database Table
instance. The table's three important characteristics must be visible columns.
In the new index class, define Single Value attributes to retain the values of the
source instance properties. Confirm that all of these characteristics are exposed
columns in the database with your database administrator, or change the
database schema as needed.
Choose a name for the Declare Index rule.
Create a Declare Index rule, noting the source of each property value and the
index property name it corresponds to.

24.   How can you measure the performance of your application


in Pega?
Following are the different ways by which we can measure the performance of our
application in Pega :
DBTrace: The Performance Analysis Tool (PAL) has a feature called DBrace that
provides a thorough log of calls to the PegaRULES database. DBTrace shows the time
spent on each operation as well as the SQL queries delivered to the database.
Performance Analyzer Tool: The Performance Analyzer (PAL) displays all of the
performance statistics collected by Pega PlatformTM. You can utilise PAL to figure
out how much system resources a single requestor session uses. The Performance
landing page (Dev Studio > System > Performance) and the Performance tool in the
toolbar both have PAL.
The features of PAL includes the following:

Page 36 © Copyright by Interviewbit


Pega Interview Questions

To add reading
To add reading with clipboard size
To reset data
To save data
To configure DBTrace options
To start profiler
To show alerts
Alerts: Process Commander inserts a succession of text entries called alert messages
to the performance alert log during application execution to identify mostly
performance-related issues or faults. PegaRULES-ALERT-YYYY-MMM-DD is the most
common name for the performance alert log.
Autonomic Event Services (AES): Exceptions are handled in the same way that alerts
are. Exceptions generated by a Process Commander server are sent to the AES system
via SOAP. The system parses the exceptions and registers them in the AES database's
pegaam exception table. AES aggregates these records into work objects called AES
exception items based on how frequently an exception occurs and the system events
that produced those exceptions. The pegaam exception work table in the AES
database is used to store these objects.

Page 37 © Copyright by Interviewbit


Pega Interview Questions

25.   Explain Work List and Work Basket in the context of Pega.

Page 38 © Copyright by Interviewbit


Pega Interview Questions

Work List: 
A worklist is a list of open, unfinished assignments that are waiting for a
user to complete them. As a result, a worklist display reveals selected
Assign-Worklist instances. 
A column that indicates a work item ID is commonly included in worklist
presentations, but a worklist is not a list of work items. One work item may
have two or more open tasks at any given moment. These assignments may
appear on the worklist of a single user or on the worklists of multiple users.
Assignments usually appear on a worklist because they were created by an
Assignment shape in a flow. Assignments are ordered by assignment
urgency, with the most urgent assignments appearing first and having the
largest pxAssignUrgency value. If the user is inactive or exclusively works in
a workspace other than Process Work, the information on the worklist
display may become stale (outdated). To refresh the contents of the
worklist, click the refresh symbol or interact with it.
Work Basket: 
A workbasket is a named list of open assignments that aren't assigned to a
specific operator. An instance of the Data-Admin-WorkBasket class defines
a workbasket. An organisation unit, a work group, and a calendar can all be
linked to a workbasket. During system installation, a [email protected]
workbasket is generated as a last resort for assignment routing.
The system makes assignments as work items proceed through a flow
execution. Assignments can be linked to either human users (and display on
their worklists) or workbaskets. A workbasket's "contents" are a collection
of unprocessed tasks arranged in decreasing order of priority, comparable
to a worklist's contents. The work queue is a term used to describe these
assignments.

Page 39 © Copyright by Interviewbit


Pega Interview Questions

There are three ways that assignments leave a workbasket:


Users who are qualified can process an assignment by removing it from the
workbasket.
Based on work schedules, due dates, talents, workloads, and other parameters,
an application can automatically route assignments in a workbasket to users.
Managers can move assignments from a workbasket to the worklists of their
employees.

26.   Explain Declare Triggers in the context of Pega. How can you


create a Declare Trigger in Pega?
Declare Trigger Rules establish the relationships between events in your case types.
Declare Trigger rules, which conduct activities in response to a case's specified event.
As a result, you're able to develop adaptable apps that properly fit your company's
requirements. When your application creates, changes, or deletes a class in the
database, declare Trigger rules to start actions. Actions in a case, such as storing a
case or modifying information in a case, are related to operations on classes. Declare
Trigger rules can also be used to track property changes and for auditing.

Page 40 © Copyright by Interviewbit


Pega Interview Questions

Following steps must be followed to create a declare trigger in Pega :

Page 41 © Copyright by Interviewbit


Pega Interview Questions

1. Click Create Decision Declare Trigger in Dev Studio's header.


2. Provide a descriptive name for the rule you want to establish in the Label area.
3. Indicate where your application saves the rule in the Context section:
1. Select an application to store the rule from the list of application layers.
2. Enter the class to which the rule applies in the Apply to field. Property
values in this class and classes that inherit from it are monitored by the
system at runtime.
3. Select a rule-set and a rule-set version to store the rule in the Add to rule-
set list.
4. Click on Create and Open.
5. Select a type of event to trigger the rule in the Trigger when an instance is list on
the Triggers tab:
6. In the Condition section, in the When box, enter a When condition rule to run
the rule only when a case fulfill given circumstances. The system checks the
conditions at runtime and only executes the Declare Trigger rule if the When
condition is true.
7. Enter the activity that the rule initiates in the Name field of the Trigger activity
section.
8. Determine how the action will run in the Execute list.
9. Click on Save and the Declare Trigger would be created.

27.   What do you understand about Forward Chaining and


Backward Chaining? Explain with examples.
Forward chaining:

Page 42 © Copyright by Interviewbit


Pega Interview Questions

Forward chaining is an internal mechanism that allows changes in one property value
to be automatically propagated to other property values or indexes. For example, if
the area property is dependent on the length and width properties, forward Chaining
will cause the area property to be recalculated if the length or width values change.
Backward Chaining:

Page 43 © Copyright by Interviewbit


Pega Interview Questions

Backward chaining allows for automatic property calculation by executing the


declarative rule when the value for the property is required rather than when the
input changes. If the area property is dependent on the length and width properties,
for example, backward chaining forces the area property to be computed each time
it is needed. Except for the Rule-Declare-Expression, almost all declarative rules only
implement forward chaining. We have the option of going forward or backward
chaining in rule-Declare-Expression.

28.   Explain Spinoff and Split join shape in the context of Pega.


Spinoff join shape:

When one flow execution starts another flow execution that runs asynchronously and
independently of the first flow execution, this is known as a spinoff. The first flow
does not pause or wait for the second flow's results. The second flow could work on
the same or a different work item than the first flow.

Page 44 © Copyright by Interviewbit


Pega Interview Questions

At the workflow level, spinoffs enable parallel processing of work. While one
department or business unit performs its functions for the work item at its own pace
and according to its own flow, another department works on the same work item.
Increased parallelism can reduce end-to-end resolution times, allowing for more
efficient staffing and better customer service.
Split Join Shape:

On the Diagram tab of a flow rule, a Split Join shape can be found. This shape causes
work item processing to divide into two or more distinct flow executions that run
asynchronously and then rejoin later at runtime.
At the business process level, this capability allows for multitasking or parallel work
processing. While one department or business unit performs its functions for the
work item at its own pace and according to its own flow, another department works
on the same work item. Similarly, if the split creates six subflows, each of them could
be assigned to and worked on by six separate users who are all working on their
assignments at the same time.

Page 45 © Copyright by Interviewbit


Pega Interview Questions

Conclusion:

In this article, we discussed the most frequently asked interview questions on Pega.
BPM is a framework for managing an organization's working systems and processes.
It is a top-down, holistic governance concept that focuses on improving consumer
loyalty through developing market practises. BPM is a coupled and persistent trend
that is continually changing the best way to manage projects and partnerships all
over the world, making them much more adaptable, robotic, and, to a considerable
extent, innovative. As a result, Pega BPM provides the firm with remarkable business
efficiencies.
To learn more about Pega, you can visit this link.

Page 46 © Copyright by Interviewbit


Links to More Interview
Questions

C Interview Questions Php Interview Questions C Sharp Interview Questions

Web Api Interview Hibernate Interview Node Js Interview Questions


Questions Questions

Cpp Interview Questions Oops Interview Questions Devops Interview Questions

Machine Learning Interview Docker Interview Questions Mysql Interview Questions


Questions

Css Interview Questions Laravel Interview Questions Asp Net Interview Questions

Django Interview Questions Dot Net Interview Questions Kubernetes Interview


Questions

Operating System Interview React Native Interview Aws Interview Questions


Questions Questions

Git Interview Questions Java 8 Interview Questions Mongodb Interview


Questions

Dbms Interview Questions Spring Boot Interview Power Bi Interview Questions


Questions

Pl Sql Interview Questions Tableau Interview Linux Interview Questions


Questions

Ansible Interview Questions Java Interview Questions Jenkins Interview Questions

Page 47 © Copyright by Interviewbit

You might also like