Showing posts with label Pega Interview Questions and Answers. Show all posts
Showing posts with label Pega Interview Questions and Answers. Show all posts

Difference between authentication and authorization in pega

Authentication and authorization in pega


Identity confirmation of the user and to verify if the user is allowed to access the application. Below three rules allow authentication of a user.


Declare trigger and OnChange in pega


Declare OnChange rules to run an activity automatically at activity step boundaries when the value of specified property changes. This capability provides a form of automatic forward chaining.
OnChange activity to be executed automatically by a Declare OnChange rule, such activities must not use any methods that directly change the properties or the database.


How to write a java code in an activity?

 How to write a java code in an activity? 

Just by using an API “java” in the method tab.
Eg. If we want to access a clipboard property then the java code will be like,


Pega guardrail is to limit custom java in all possible situations.

java method in activity

Get a full understanding of ACTIVITY

What is a step page what role does it play in an activity?

What is a step page what role does it play in an activity?

Step Page in activity

Each step in an activity may have a designated step page. When creating or updating an activity, the developer identifies an existing or new clipboard page for the method (or instruction) in that step to act on, in a column of the tab labeled Step Page.

Routing activities in pega

All these are defined in Work- class and all these are "Route" type Activities.


Route the assignment to the user who entered the work object.


Routes the assignment to a workbasket identified in a parameter.

Activity Page methods in pega

Page-Copy method

The page-Copy method is used to copy the contents of a source clipboard page to a new or previously created destination clipboard page. The source page is not altered.
After this method completes, the destination page contains properties copied from the source page and can contain additional properties from a model.

What is the difference between Call and Branch in an activity ?

What is the difference between Call and Branch?


The Call instruction calls another specified activity and executes it. When that activity completes, control returns to the calling activity.

Activity Property- methods in pega

Property-Set method

The property-Set method used to set the value of one or more specified properties.


The property-Set-Message method is used to associate a text message with a property or a step page. The system reads the appropriate property and adds the message to the page. We can provide the entire literal text of the message, or reference a message rule key that in turn contains message text. (Rule-Message rule type).

How to remove duplicates in report definition in pega

Remove duplicates in Report definition

Need to check the box (Remove duplicate rows) from Query tab of report definition rule.

How to remove duplicates in report definition in pega

Default max rows in the report definition

What is PegaRULES, PegaDATA and split schema?

What are PegaRULES, PegaDATA, and split schema?
As we know pega has introduced the concept of split schema, which is RULES schema and Data schema. What will be stored in that schema?

Pega remove duplicates from activity and data transform

How can we remove duplicates from a Page-List?

Byusing Pega functions like “RemoveDuplicatesInPageList”, pzRemoveDuplicatesFromListPage and pzRemoveDuplicatesFromListPage
We can use both the functions in Data Transform and Activity.

How to call a report definition in an activity? pega

Call Report definition in an activity

By using “Call Rule-Obj-Report-Definition.pxRetrieveReportData activity and passing Parameters Param.pyReportName, Param.pyReportClass, and Param.pyPageName in Property-Set method before calling the activity

Pega client and server side validation

What types of validations are there?
a.      Client Side Validations
If you want to validate properties before submitting the forms, those validations we can call client-side validations.
b.      Server Side Validations
If we want to validate properties after submitting the forms, those validations we can call a server-side validation.

Pega Edit validate and Edit Input

Difference between Rule-Edit-Input and Rule-Edit-Validate?

Edit input rules are instances of the Rule-Edit-Input class. They are part of the Property category.

An Edit Input rule provides a conversion facility.

Edit validate rules are instances of the Rule-Edit-Validate class. They are part of theProperty category.

Use the Edit Validate form to define a Java routine that tests the validity of an input value in an activity.

Pega filter report definition results using custom section

How can we filter the report Definition results by using a custom section on the report?
Need to create a custom filter section and reference that in the “Report Viewer” tab of Report Definition rule.
Need to select “Display Filters using custom sections” check box.

Pega Join types in report definition

We have different JOIN types in the Pega report definition.

From Data Access tab of Report Definition in Class joins a section

Only Include Matching Rows        =   INNER JOIN
Include All Rows in this class        =   LEFT OUTER JOIN
Include All Rows in Joined Class   =  RIGHT OUTER JOIN

Pega join types

What is the difference between parameters and local variables? How are they used in an activity?

What is the difference between parameters and local variables? How are they used in an activity?
Values stored in parameter values can be shared between two activities but the scope of local variables is confined to the activity in which they are declared.
Parameters can be referenced as Param. parameter name.
Local variables are referenced as Local. variable name. more on Activities

Activity End and Exit Activity methods in pega

Activity-End method?

Use the Activity-End method to cause the system to End the current activity and all calling activities.

Pega - RULE CIRCUMSTANCE - Interview Q&A

Pega Rule Circumstance

  1. What is Circumstance? How it works?

circumstance is an optional qualification available for all rules. Using a circumstance allows our application to support multiple variants of a rule. For example, variations of an ordinary rule instance can be created for different customer status levels or for different geographic locations.


Rule Availability:

How to change Rule Availability?

To change the availability setting of a rule, click the Availability toolbar button ().

We may need to check out the rule first. A dialog box appears.

Select one of five Availability values

Yes, No,/Draft Mode, Blocked, Final, Withdrawn.