Posted by NodeJS certification on 06/01/2019

Pega interview questions

1. What is the difference between Page-Validate and Property-Validate methods?

The page-validate method is used to validate all the properties present on a page. If a page has embedded pages, this method works recursively to validate all the properties. This method consumes a lot of system resources and takes more time. If you want to validate specific properties use Obj-Validate method with a Rule-Obj-Validate rule.

A property-validate method is used to impose restrictions on property value. Use Edit validate rule along with Property-Validate method to impose restrictions. You can validate multiple properties using Property-Validate method.

2. 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.

3. 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.

4. Where work objects will be stored?

Work Objects are stored in pc_work table by default. However, if you want to store the work objects in a user-created table, follow the below-mentioned steps.

Create a schema similar to pc_work table. (The best thing is to copy the pc_work schema and modify the table name and constraints name if any)

Change the class group mapping (Data-Admin-DB-Table) to the newly created table.

5. If I have 3 different work objects in my application, how to store them in three different tables?

Open/Create the Data-Admin-DB-Table instance for each class and mention the table name. By doing this the individual work objects will be stored in the new table you mentioned in the Data-Admin-DB-Table instance. This is a best practice if there too many object instances for each class.

6. What is StepStatusGood, StepStatusFail rules?

StepStatusGood is a when the condition defined in @baseclass, this when rule checks whether the value of the pxMethodStatus property is “Good”.

StepStatusFail is a when the condition defined in @baseclass, this when rule checks whether the value of the pxMethodStatus property is “Fail”.

7. How to make any rule as a favorite to your manager?

Delegate the rule to the manager.

8. 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.

9. How to import rules using Pinsky

Open the rule, from that pick the pzinskey, go to prdbutil and using the pxinskey export the rule Import that zip file where you want.

10. Difference between activity and utility?

An activity is an instance of the Rule-Obj-Activity rule type. An activity is the fundamental sequential processing unit of the Process Commander system.

The shape in a Visio flow diagram references an activity that updates a work object but does not require user interaction and input. Your system includes standard activities for utility tasks, and you can create additional ones.

Each utility task references an activity with an Activity Type of Utility ss from utility shape we can call activity but vise versa not possible.

To get in-depth knowledge on pega, you can enroll for live Pega training by OnlineITGuru with 24/7 support and lifetime access

11. What is skimming explain?

It collects the highest version of every rule in the ruleset and copies them into a new major version of that ruleset on the same system.

EX: If we are skimming loan appl:05-06-07, the only options like 06-01-01 and 07-01-01, but we cannot skim to 05-07-08 and so on.

12.  What are the different methods used in activities?

Page-New, Page-Remove,  Obj-open,Obj-List, Obj-Save, RDB-Save,RDB-List,RDB-Delete etc..

13. Different types of classes that PRPC support?

We have different types of Standard Classes will be available which are,

@baseclass is Ultimate base class, And Its Child Classes are work-, Data-, Rule-, Assign-, History-, etc. Pega always Support 2 types of class which are Abstract Classes and Concrete Classes

Abstract Classes are ends with ‘-and abstract Classes cannot create any work object instances

Concrete Classes will Does not ends with -, And Abstract Classes will create Work object instances

14. Explain about Work Object?

A work object is the primary unit of work completion in an application and the primary collection of data that a flow operates on.

As an application is used, work objects are created, updated, and eventually closed (resolved).

Every work object has a unique ID (property pyID), an urgency value, and a status (property pyStatusWork).

15. Explain about Work Object ID?

A work object ID is the permanent, external identifier of a work object.

If we don’t specify a prefix (on the Details tab of the application rule), the Work-.Generate ID activity uses W- as the prefix and no suffix. The Work-Cover-.Generate ID activity uses C- as the default prefix. Conventionally, the F- prefix is used to identify folder work objects.

16. Where do we determine the prefix and suffix of the Work Object ID?

The prefix and suffix are determined by a model rule by default 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.

17. How to call one activity from another activity:

They are two types:

a) Call: If we call one activity to another activity by using call, it will execute the called activity and return back to calling activity then execute the remaining steps in a calming activity.

b) Branch: If we call one activity to another activity by using Branch, it will execute the called activity and calling activity then it will not execute the remaining steps after branch.

18. Difference between obj-open and obj-open-by-handled

Obj-Open: we will get multiple records from a table based on the criteria from the specified class. Or Opens an instance of a given class

OBJ-open-handle:  here we have had to pass the pzInskey as an instance handle, this method will open only one record at a time. Or Open object by a handle to the pzInsKey value

The handle of an instance is a unique key, in an internal format, assembled by the system that identifies an instance in the PegaRULES database. It may differ from the visible key generally used to identify instances. (Every instance has a unique handle, but more than one instance may share the same visible key.) For rule instances, the handle includes system-generated identifying values (including the create date and time) that make it unique.

Use the Obj-Open-By-Handle method only if you can determine the unique handle that permanently identifies which instance to open. Otherwise, use the Obj-Open method.


19. Inheritance concept in the Pega (rules, class)

Rules: inheritance that can maximize the reuse of your rules while allowing localized overriding as appropriate. Also called polymorphism, inheritance allows a rule created for one class (possibly an abstract class) to be applied to other classes that inherit from it.

Class inheritance searches for rules from a concrete, lower class, up the class hierarchy to find available rules.

Two types of class inheritance — directed inheritance and pattern inheritances

20. How to connect to different pega applications?


21. How to store the instance of the class in a specific database?

Creating the separate DB table for that working class within the DB, or map to external db and further saves will go to that DB

22. How to see the values of the local variables of the activity?

Using log-message.

23. How can I store the instance of the class in the database?

Creating the separate DB table for that working class within the DB, or map to external db and further saves will go to that DB.Q. 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.

24. Ticket: explain any scenario u used

Use the Ticket shape ( ) to mark the starting point for exceptions that may arise at any point in the flow, such as a cancellation. The ticket is a label for a point in a flow, much like a programming “GOTO” destination.

25. table used to add note


26. Default activity used to create work object

There is more than one like Add, CreateWork, and New.

27. Different type of flows. Explain in scenario-based where u used and worked

A spin-off, Split-Join, and Split for each.

Contact This Member

Join Our Newsletter - Today