0% found this document useful (0 votes)
242 views7 pages

Test Answers (Pega)

The document discusses various Pega concepts and differences between related terms. It covers differences between Call and Branch instructions, Obj-Open and Obj-Browse, Clipboard and Tracer. It also discusses inheritance types, thread, requestor and node types in data pages, types of page properties, purpose of When rules, formats of instance handles, additional actions in flowactions, draft on in flow, use of parameters, where workobjects are stored, types of rulebase tables, types of pages in clipboard, abstract and concrete classes, predefined classes, application structures, behavior of px, py and pz types, differences between obj-Open and obj-Open by handle, types of keys, rules that can be mapped in flowactions
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
242 views7 pages

Test Answers (Pega)

The document discusses various Pega concepts and differences between related terms. It covers differences between Call and Branch instructions, Obj-Open and Obj-Browse, Clipboard and Tracer. It also discusses inheritance types, thread, requestor and node types in data pages, types of page properties, purpose of When rules, formats of instance handles, additional actions in flowactions, draft on in flow, use of parameters, where workobjects are stored, types of rulebase tables, types of pages in clipboard, abstract and concrete classes, predefined classes, application structures, behavior of px, py and pz types, differences between obj-Open and obj-Open by handle, types of keys, rules that can be mapped in flowactions
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

1. What is the difference between Call & Branch instructions?

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

We use the Branch instruction to find another specified activity and branch to it without a return. When
the system executes a Branch step, control transfers to another activity found through rule resolution.

Execution of the original activity pauses. When the branched activity ends, processing of the current
activity also ends.

2. Difference between Obj-Open & Obj-Browse? 

Ans: Obj-Browse: Fetch Multiple Records for list of Properties. Use the Obj-Browse method to search
instances of one class and copy the entire instances, or specified properties, to the clipboard as an
array of embedded pages.

Obj-Open : Fetch single record based on Class key. method to open an instance stored in the
PegaRULES database or in an external database linked to an external class, and save it as a clipboard
page.

3. Explain Clipboard & Tracer? 


Ans: They are the 2 major debugging tools for a PEGA developer , changes can be made in the
Database/Data Pages using the clipboard & also acts as temporary storage btw PRPC app and the
RuleBase .Where as tracer allows step by step(Row-wise) debugging of Data Transforms, Activity
created by the Admin, etc and provides a result according to the rule-set.

4. What are inheritance types? 


Ans: There are 2 major types – Pattern & Directed.
Pattern inheritance is when the Child has more than one Parent Class.
In directed inheritance, Child has only one parent class.
Pattern Inheritance is optional whereas Directed Inheritance is Mandatory .

5. What is difference between Thread, Requestor & Node types in data page rule 
Ans : Thread – The page is created in a single requestor thread and can be accessed as often as
needed by processing in that thread.
Requestor – The requestor can access the page(s) loaded across all threads.
Node – Any requestor executing on the current node can access the pages.

Node Level- If you specify a page in node level, then it can be accessed by all the requestors in the
particular node.

Requestor Level- If you specify a page in Requestor level , then it can be accessed by all the threads
opened by the requestor.
Thread Level- If you specify a page in Thread level, then it can be accessed only by that particular
thread.

6. Types of Page Properties? 

Ans: Single Page: It will hold Multiple Properties but we can assign one value at a time.

Page List: It will hold Multiple Properties but we can assign Multiple values at a time, List Index
will be Integer.

Page Group: It will hold Multiple Properties but we can assign Multiple values at a time, Group
Index will be Alphabetic/Alpha Numeric.

7. What is the prefix of WorkObject ID & How to update built-in Prefix value? 


Ans: Work object ID has a prefix of W-nnnnn (eg- W-7576).
Steps to update built-in Prefix value-- Go to the pyDefault model rule of ModuleMapTemplate
class. Set the Prefix to what you want. Goto application rule and go to cases and data
tab. Change Work ID prefix.

8. What is purpose of When Rule in Pega? 


Ans: The main purpose of When Rule is to evaluate a Boolean logical statement that involves
comparisons among values of properties, to return true or false. Its purpose is to add Pre Condition
before executing Method/API.

9. What is the format of Instance handle in obj-open-by-handle method 


Ans: The pzInsKey property holds the handle value for the object.
 Handle values are in the format:
CLASSNAME CLASSKEY ! NAME #YYYYMMDD T HHMMSSTTTTMMM GMT
where:
 Alphabetic characters are all uppercased.
 CLASS is the class of the instance, or of the class group for objects (such as work items)
that belong to a class that is a member of a class group.
 A single space precedes the next key part.
 CLASSKEY is the Applies To or class key part of the instance, if present
 An exclamation point character separates this key part from later parts.
 NAME is the name of the instance, which may involve multiple key parts.
 A pound sign (#) precedes the date.
 YYYYMMDD is the creation date of the instance.
 A capital T precedes the creation time.
 HHMMSSTTTTMMM is the creation time after midnight in hours, minutes, and seconds
(6 digits), a decimal point, and milliseconds (3 digits), based on GMT (Coordinated
Universal Time).
The date and time portions are present only on rule instances. For most database tables, a
handle may be up to 255 characters long.
10. What are additional actions in Flowaction Rule 

Ans: Connector Flowaction: Process Rule which allows us to perform actions on the assignmen moves
the WorkObject from current assignment to Next Assignment.

Local Action: It is also a Process Rule which allows to Perform action on the Assignment, but still
WorkObject will be there on the same assignment.
For Assignment we can add Multiple Connector Flowactions & Multiple Local Actions.

11. What is draft on in flow? 


Ans: Draft On is a dummy Flow just for demonstration purpose. To execute our flows we have to click
on Draft ON.  Draft mode is only used in lower environments because it allows you to run flows for
testing purposes before all of the rules are in place.

12. What is the use of Parameters? 


Ans: Parameters holds Value at runtime.
 If you want to provide Single/multiple inputs at runtime then we can use parameters.
 Pass different values dynamically.
 To Access Parameters we need a built in page – Param.

13. Where workobjects will be stored? 


Ans:  pc_work table or another table identified in a DB table data instance. (The pr_other table is the
default catch-all table for instances of classes not explicitly mapped.)

14. Diff types of Rulebase tables in pega ? 


Ans: The database that contains the rules — all the instances of concrete classes derived from
the Rule - base class — is known as the PegaRULES database. This database is also sometimes
identified as the rulebase, but it contains more than rules.

 Assignment tables

 Rules tables

 History tables

 Data object tables

 Index tables

 Link tables

 Log tables

 System tables
 Miscellaneous tables
15. Diff types of Pages in Clipboard? 

Ans: The clipboard contains these broad categories of top-level pages:

 User pages.

 Data pages, produced by Data Page rules.

 Linked property pages.

 System-managed pages, including the requestor page, process page, application page,


thread page,etc.

16. What are Abstract & Concrete classes? 

Ans. A concrete class can only have concrete methods. Even a single abstract method makes


the class abstract. Abstract class can not be instantiated using new keyword. Abstract
class can inherit another class using extends keyword and implement an interface

17. Mention any 5 predefined classes in Pega? 

Ans.

 @Base.

 Work-

 Date-

 Int-

 Assign-

 Index-

 Rule-

 Code

18. What are application structures in pega? 

Ans. The Pega Platform layer contains the built-in assets necessary for processing cases and
other work in Pega applications. This layer also contains the assets Pega Platform uses.
19. Types of Properties? 

Ans. Every property has one of eleven modes. The three categories of modes are Values,
Pages, and Java Objects

20. Explain behavior of px,py & pz types 

Ans: px Identifies properties that are special, meaning that the values cannot be input by
user input on an HTML form.

py Properties with names that start with py are not special, meaning that values can be
input by users on an HTML form.

pz Properties with names that start with pz support internal system processing. Users
cannot directly manipulate pz properties. Your application may examine these values, but
do not set them. The meaning of values may change with new product releases.

21. Diff between obj-Open & obj-open by handle? 

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

22. Types of Keys? Explain them.

Ans. Class key is a primary key for the table. By default pega provide pzinskey as a


class key if keys part is empty in class rule . It can take a single primary key or a
composite key comprises more than one column.

23. What are all rules we can map in Flowaction? 

Ans. By using Flow Action we can map user interface design flow.When ever we are using UI
in flow, we need to create a flow action for that section.In work flow UI can be added only
through Flow action rule.

24. Diff between obj-Browse & Report definition? 

Ans. Obj-Browse can also not filter on properties which are not optimized. But if you select
a property that is not optimized, it will read the entire BLOB. Report Definition does not
read the entire BLOB but uses UDFs to return scalar properties back if youreference
unoptimized properties.
25. Diff sources we can use in data page? Give any 3 names. 

Data transforms

Activity

Report definition
26. Is it possible to configure data class in work class? ( Yes/No)
Ans: ((NO))
Work Class - Contains the rules that describe how to process a case, such as processed, date
element and user interfaces. Data Class - Contains the rules that describe the data objects
used in application .

27. What is Class group? 

 Ans. Any Pega rules we create and execute can be done only under a class.

 If class is not available then we cannot create Pega rules and we cannot compile the
rules.

 PRPC creates all the classes in Pega.

 Pega has two different classes Predefined and user defined.

28. What is the rule to add user defined status? 

Ans. In the header of Dev Studio, click Configure Case Management Processes Status


Values .

1. Review the list of case statuses, and ensure that a case status that meets your business
needs does not already exist.

2. Create a field value that defines your custom status by doing the following:

a. In the header of Dev Studio, click Create Data Model  Field Value .

b. In the Label field, enter the text for the custom status value.

As a best practice, use one of the following prefixes to support standard reports and
maintain continuity in between your custom status and standard status
values: New-, Open-, Pending-, or Resolved-.

c. In the Field Name field, enter pyStatusWork.


d. In the Context section, select an application layer, applies to class, and ruleset based on
how you plan to reuse the status value in your application.

29. Explain any 5 functions in data transform? 

 Copy a clipboard page to make a new page.

 Map properties (and their values) on one page to another, existing page.

 Map properties (and their values) on one page to a new page.

 On a specific clipboard page, define one or more initial properties on that page and
set their values. A data

 transform can set many property values on a page in one processing step.

 Append pages from one Page List property to another.

 Normalize data for use with a data page.

30. Explain about page-copy method? 

Ans. We use this method to copy the contents of a source clipboard page to a new or
previously created destination clipboard page.The Page copy method does not alter the
source page.

You might also like