List of PEGA Interview Questions and Answers
List of PEGA Interview Questions and Answers
List of PEGA Interview Questions and Answers
What is SLA and what are the terms associated with it?
Service level can define the timeline to process work object by executing activities Goal, Deadline,
and Passed Deadline are the terms associated with it.
What are the major differences for Obj and RDB Methods?
Obj – Preferable for Pega Internal DB Tables Used to perform operations on a single table at a time
Can BLOB (pzPvStream) column results as well Pega automatically write SQL queries
RDB – Preferable for External Tables Used to perform the operation on multiple tables at a time
BLOB (pzPvStream) Column values cannot be retrieved We need to define query using Connect – Sql
rule and use it.
Which are the possible ways to Handle Errors in Connect – Soap rule?
Name some of the Pega OOTB Activities that are generally used?
Notify, NotifyAll, New, Work-.AddCovered, AddCoveredWork, Work-.Addwork, Work-. Add,
NewCovered, ToCreateOperator, ToWorkBasket, ToWorklist, Work-.NewDefaults, Assign-
.NewDefaults, CorrNew, NewDefaults.
What are the major functionality difference between Clipboard and Database?
Clipboard: It serves as a primary temporary memory for multiple requestors.
Database: It is the permanent memory where the data can be persisted to make use at later point of
time (Obj and RDB methods are used to interact with DB from Pega)
Which are all the pages available in Clipboard at run time for the user?
User Pages: Its top-level clipboard page created by the user by making use of activity methods such
as Page-New, also it can be editable by the user.
Data Pages: It is generated by executing the declarative rules and the content appears as read-only to
the users.
System Pages: It holds Thread Page, Process Page, Requestor Page, Application Page, Operator Page,
Organisation Page, etc.
By defining the log message method and can be viewed in tracer after defining the local
variable in the activity.
By selecting the checkbox Local Variable checkbox in tracer.
What is the difference between Edit validate and Edit Input rules?
Edit Validate: Use edit validate rule to validate the property value using java code. Edit validate rules
can be used property-validate, Rule-Obj-Validate and Property rules.
Edit Input: Edit input rules converts user-entered data into the required format. For example is the
user enters date MM/DD/YYYY format, edit input rule coverts this date into DD-MMM-YYYY
(required format). Again we need to write java code for this transformation.
Where assignments will be stored in Pega rules database?
Work List related assignments are stored in pc_assign_worklist.
Workbasket related assignments are stored in pc_assign_workbasket.
Where can I see the parameter values in the clipboard ( values ..) I am passing
one activity to others?
No, it’s not possible in the clipboard, but you can see in tracer by clicking page name which in step
method column.
Add Reading
Add Reading with Clipboard Size
Reset Data
Save Data
Start DBTrace
DBTrace Options
Start Profiler
Show Graph
My Alerts
Alerts: During application processing, Process Commander writes to the performance alert log a
sequence of text entries called alert messages that identify mainly performance-related issues or
errors. The performance alert log is usually named PegaRULES-ALERT-YYYY-MMM-DD log.
AES: Exceptions are processed in a similar way as alerts. When a Process Commander server
generates exceptions they are sent by SOAP to the AES system. The system parses the exceptions and
stores the records in the pegaam_exception table in the AES database. Based upon how often an
exception occurs and the system events that triggered those exceptions, AES aggregates these records
into work objects called AES exception items. These items are written to the AES database in the
pegaam_exception_work table.
Default data table where the instance of the class is store (how it will search )
pc_work
Workbasket assignments are stored in a single pr_assign_workbasket table.
Worklist assignments are stored in a single pr_assign_worklist table.
The Work- base class is mapped to the pc_work table, a table with columns that represent all the work
object properties that need to be exposed to flow processing to function correctly. Map your work
object classes to either the pc_work stable or another table that has the same columns.
The Database class is mapped to the pr_data table. Map your data classes to either the pr_data table or
another table that has the same columns.
All Rule related data will be stored in pr4_pegarules. The pr_other table is the last resort or default
destination for saved instances that belong to a class that is not mapped to any other tables.
In Routing activity what is the default property used to route the object
pxRouteTo=Param.AssignTo =” workbasket name” for work basket .s
For work list:
pirouette =Param.Worklist=”true” &&Param.AssignTo =” pxRequestor.pyUserIdentifier” for work
list.
Notify
When you want to configure your flow to automatically send notification messages about
assignments, connect a notify shape to the assignment. A notify shape identifies a notify activity.
How to end the work object in the activity (a method used to kill the work
object)
Using javascript.
How can I pass the page as the parameter to the activity using Java,
JavaScript?
Using Java you can, maybe using java scripts you can, I not sure
How to get a property value from the clipboard using Java step?
ClipboardPageworkpage = tools.findPage(pagename);
String propername = workpage.getProperty(“.pxResults.Risk”).toString();
Or
String propertyname= tools.findPage(“WorkListPage”).getProperty(“.pxResults.Risk”).toString();
Privileges usage…
A privilege is an application-specific access control element associated with a class and access role.
A privilege rule is an instance of a Rule-Access-Privilege rule type.
Using privilege rules in an application is optional, but they can offer finer control over access than
access roles alone.
What is a Work Group? What is the primary function of a Work Group from a
business perspective?
A workgroup is a logical collection of operators having a common supervisor i,e. a workgroup can
identify a user who is a supervisor and a set of workers and workbaskets that report to that supervisor.
Use – For the supervisor of a workgroup, the My Group area of the Process Workspace provides
quick access to the work lists and workbaskets associated with the group (In the workbasket tab of
workbasket data instances we enter the name of a workgroup that uses the workbasket. This field
determines which workbaskets appear in the View Queue list on the My Group area of the Process
Work workspace for managers). Also, workgroups facilitate for better monitoring and reporting of
tasks on the Monitor Activity workspace.
Where we determine the prefix and suffix of of the Work Object ID?
The prefix and suffix are determined by a model rule pyDefault for the work type or the class
corresponding to the class group. The model is referenced on the Process tab of the flow rule that
creates the work object.
Decision Tree:
What do you mean by Case Management in PEGA? When do you use folders?
Case Management involves managing work that, for processing and reporting purposes, differs from
classic BPM work objects. Cases may involve:
1. Less rigid structure.
2. More flexibility in the order of tasks or which tasks are needed.
3. Interrelationships with other work.
4. Process Commander facilities supporting sophisticated case management include covers, folders,
and case type rules.
5. Case Management design is governed by the Case Type Definitions gadget, which is used to
configure the following case type and work processing configurations. Using the gadget, you can:
6. Construct covering relationships and build new case types using a standard tree gadget.
7. Add entirely new case types: Creates Class and Case Type rules provides standard starting flow for
the new case type.
8. Reuse existing cases and work types.
Manage various aspects of work processing, including:
Service levels
Attachments Categories(and automatic attachments when work objects are created).
Automatic and conditional instantiation of covered items when a new cover(case) is created.
Mapping roles to object access for your various case and work types.
What do you mean by exposing a property? Did you use any SQL tools or does
Pega provide some means to expose columns?
A Single Value property that is visible as a column in a database table is said to be exposed. Only
exposed properties can be used for the record selection operations in the list view and summary view
rules.
In PEGA we can use the ‘Modify Database Schema’ wizard to expose properties. Also, the database
administrator can cause a property previously-stored only inside the Storage Stream column to
become a separate exposed column using SQL tools such as TOAD.
** Aggregate properties, properties within an embedded page, and properties that are not exposed are
contained in a specially formatted Storage Stream or BLOB column. Most Pega Rules database tables
contain a Storage Stream column named pzPVStream.
** Exposing too many properties in a table may speed reporting and searching operations, but make
the insert and update operations slower. The tradeoff and relative impact depend on hardware and
software and no general guidelines exist.
What is Access Group and Access roles and difference between them?
Access groups make a set of RuleSet versions available to requestors. Use an access role name to
convey permissions (capabilities) to a user or a group of users. Access roles can be referenced in
requestor instances, Operator ID instances, in access group instances, in activities, and in queries.
In Pega 8.1 what are the new components added for application development?
From app dev point of view, couple of new features added in 8.1
We can use role-based workspaces
Developers now have the capability to review complete project highlights on a single page
Effective management of reusable component
App Studio
Dev Studio
Admin Studio
Prediction Studio
A system admin complained that he is not able to access the admin studio? What
could be the potential reason?
To access Admin Studio, one should have the following Privileges
SysAdmin4
PegaRULES:SysOpsAdministrator
PegaRULES:SysOpsObserver
Like we used to switch portal, similarly, is there any way to switch studio as
such?
Yes. In the header of the workspace, we need to click the Switch Studio menu.
How many types of portals does PRPC can provide? Where will you specify the
portals that u have created?
Composite portals, Fixed portals, Custom portals, mobile portals
After creating a portal it will specify in the Access group Settings tab, then it will access to the
particular user.
What are all the different types of scope that declare scope provide ?
Node, Thread, Requestor
What is the activity responsible for getting the data in List View?
getContent Activity
How do we fetch the data from two different tables with out using two different
tables?
Write a database View. In this view logically combine the Two different tables.
Create a class for this logically combined Table.
Write the ListView. Applies to class is a class of the Combined table. So we can refer to the properties
of both the tables in the list view.
Consider this scenario: I need to generate a list view report of all the work
objects created on a particular date and then I need to include this list view in a
section. How this can be done?
Select .px Create Date Time ( an exposed property ) under criteria and give the value you are looking
for.
To include it in a section, check the embedded checkbox and customize the HTML of the section. In
that, we need to access the list view in a JSP tag or In section, Property is Display As ListView.
Applies to class of list view will be taken as the database table map for the search criteria.
Display fields tab is used to depict the fields that are displayed along with category and to
enable/disable sorting
The content tab is used to depict the criteria, fields to be retrieved, key of each row (if
selected) and Report source (Page name where the values should be saved and the activity to
be called)
In organize tab we specify to enable/disable paging, page size, mode, alignment etc.
We can also configure additional buttons and their fragments here.
The format tab is used to depict the formatting of the list (like even/odd coloring) and details
on single click etc.
Call Rule-Obj-ListView.ShowView activity with the class name and list view name as
parameters
A list view can be used for complex retrievals from the database by not specifying the
display, format, and Organize table.
PyAction, in that case, would perform instead of a refresh.
What is an Agent?
An agent is an internal background process operating on the server that runs activities on a periodic
basis.
Agents route work according to the rules in our application.
Agents also perform system tasks such as sending e-mail notifications about assignments and
outgoing correspondence, generating updated indexes for the full-text search feature, synchronizing
caches across nodes in a multiple node system, and so on.
How to implement SLA’s? It is possible to define an SLA for the entire work
object? If yes, how?
SLA’s are always associated with an assignment. Just drag an SLA shape and provide an instance of
Rule-Obj-ServiceLevel.
Yes, SLA can be defined for the entire work object by defining it in the model.
The property for this is pySLAName.
How to implement dynamic select and smart prompt? What’s the major
difference between them?
Implementation of Dynamic Select:
In properties panel select Display As is DynamicSelect.
Write Activity for generating Dynamic Select.
By using Show-Page method display the data in XML format.
Dynamic Select is a drop-down from which we can only select a value.
Smart prompts acts both as a text box and a dropdown.
Smart prompts are implemented by using ISNS_FIELDTYPE, ISNS_CLASS, ISNS_DATANODE.
What is the difference b/w Page and Page List property, how are they
Implemented?
Page property refers to a particular class and is used to access the property of that class.
Page List Property also refers to a particular class, but it’s a collection of individual pages of the same
class which can be accessed through numeric indexes.
How do you add custom message to the Property when it fails the Validation.
For this we have to use theProperty.addMessage(“your message”) tag.
Message is set to the property and the checked in the clipboard also , the
messages got set successfully. But the message is not displayed beside the field
in the screen. Why..?
If the property has a html property, the tag tag must be include