0% found this document useful (0 votes)
611 views8 pages

PEGA Interview Set03

Router is used to send work objects to other operators. There are 6 main types of layouts in Pega 7: dynamic, smart, repeating, column, free form, and tabbed. Polymorphism can be achieved through inheritance and overriding. Forward chaining recalculates the target property when inputs change, backward chaining does so when the target is used. Listeners are background processes that wait for messages. Services use Pega PRPC as a server and external systems as clients, while connectors use Pega PRPC as a client and external systems as servers.

Uploaded by

satyach123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
611 views8 pages

PEGA Interview Set03

Router is used to send work objects to other operators. There are 6 main types of layouts in Pega 7: dynamic, smart, repeating, column, free form, and tabbed. Polymorphism can be achieved through inheritance and overriding. Forward chaining recalculates the target property when inputs change, backward chaining does so when the target is used. Listeners are background processes that wait for messages. Services use Pega PRPC as a server and external systems as clients, while connectors use Pega PRPC as a client and external systems as servers.

Uploaded by

satyach123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8

Q: What is Router?

A router is attached to an assignment shape and sends work object to new assignment; it is sent to any operator other than
the current user

Q: Types of Layouts in pega7

In pega mainly we have 6 types of layouts has been added in pega7 . They are,

1. Dynamic layout

2. Smart Layout.

3. Repeating Layout.

4. Column Layout.

5. Free Form Layout.

6. Tabbed Layout.

The main purpose of Dynamic layout is allowed in pega 7 means Dynamic layout supports a responsive ness inn user inter
face.

Q: How polymorphism can be achieved in PEGA?lk

Polymorphism means --- over loading & over riding

Overloading can be achieved through --- Inheritance (Direct or Pattern)

Overriding can be achieved through --- Circumstance

Q: What is Forward Chaining and What is Backward Chaining?

          
FC - The target property gets recalculated Whenever input is changed.
                    
For Example, (Target Property)C= A+B(Input Properties), whenever A or B value gets
changed then C gets recalculated.
          

BC - The target property gets recalculated whenever the target property is used/referred.

          For Example, C=A+B,  whenever C is used then C gets recalculated.

Q: What are the Listeners?

Listener is a PRPC background process that waits for arriving messages in the port.

Listeners are defined by Data objects created as follows:


Email Listener forms: (Data-Admin-Connect-EmailListener class)

File Listeners forms: (Data-Admin-Connect-FileListener class)

JMS Listeners forms: (Data-Admin-Connect-JMSListener class)

MQ Listeners forms: (Data-Admin-Connect-MQListener class)

To debug listener processing, you can use the Tracer to connect to the listener requestor, remote logging,
or the System Management application.

Q: Define Service and Connecter?


Service

Pega PRPC acts as server and external system acts as client.

Service SOAP

Connect-- Pega PRPC acts as client and external system acts as server.

Connect-SOAP, Connect SQl

Q: Which type of Service or Connecter used in your project?


Service-SOAP, Connect-SOAP, Connect-

SQL…
Q: How to call one activity from other Activity
Call/branch

Q: How to run 2 activities in parallel?


We will have run in parallel option to run Connect-SOAP activity..

Q: Diff b/w Decision tree, Table, Map-Value?


Tree Complex if else structure.. Table- if else in tabular format.. less complex.. Map-Value based of single
property..

Q: What are Work parties?


Interested to know about the work but do not directly resolve WO…

ex Com,gov,operator,org,Person

Q: What are different methods used in activities?


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

Q: Different Activity types


Activity, utility, LoadDeclarativePage, Trigger,Validate,Assembly etc..

Q: How you trace an agent

Using SMA Agent Mgnt

Select the required agent-> delay the agent-> Find the requestor id.. Requestor Mgt -> trace the agent by
selecting requestor id..

Q: Where can we call the activities in a flow action?


Post activity Preactivity at action tab

What is Class structure of your Project? Explain about the project Flow?
Organizatin-> Division-> Framework->Implementation

How to retrieve embedded properties from list view?


Use declare index
How to calculate urgency in SLA?
Initial urgency + goal + deadline + past deadline

Example assignment urgency 50, work object urgency is 30, initial urgency 20, goal time 5,deadline =20
, passed deadline=25 20+5+20+25 (not sure)

What is Ticket?
Used to jump in a flow from one shape to other shape without following a sequence..

What is skimming?
Creating a new major ruleset for the existing rulesets. And placing the highest versioned rules in the new
ruleset

What is clipboard?
Temporary memory area for holding Pages Properties and values

What is pyWorkPage?
Holds work object details

Q: What is harness?
Harness is the main/mother UI.. The flow action you referred is embedded in perform Harness.. So whatever be the UI
component. It must be placed in Harness. OOTB Harness is available like New,Confirm,Update,Review which is used to
process work objects.. if you want to run any stand alone app,or will use Call Show-Harness, in this respect you can create
your Harness rule.. Customize Harness rule is also used for using Composite Portal. Harness is a canvas which conveys the
mode of work object...By default pega uses the harnesses which it judges to show like review when u view the object in
read only mode....when u try to perform den it uses perform...To make it lighter i will give one general xample we all watch
movies on a theatre screen ri8 the screen will not change per movie and the movie is the content of the story narration
ri888...In this xample harness is the theatre screen,the content screen is the html which u use like flow action which
includes sections for reuse purpose

Q:

Except Final rule you can customize any rule in pega

Q: What is the difference between a Work pool and a Work Type? Can a work pool belong to another work pool? Can a
work type belong to a work pool?
Ans – Different work types (classes derived from the Work- base class) are grouped in to one class group and when this
class group is added to a user in his access group, the user can work on each work type of each class group added. Class
groups so added are called as Work pools. A work pool cannot belong to another work pool. Multiple work types can belong
to a work pool

 Org-div-work-classa

 Org-div-work-classb

Class Group – A class group instance causes the system to store the instances corresponding to two or more concrete
classes that share a common key format in a single database table. The name of the class group is a prefix of the names of
the member classes. Class groups and work pools are basically the same thing and class groups added to a access group are
called work pools.

Q: How many guardrails are there and explain?


 
There are 10 guardrails in the prpc application. They are

1) Adopt an Iterative Approach: Define a project initial scope by documenting 5 concrete scenarios up
front and evaluate them at the end to calibrate business benefits. Here It goes iteratively up and down in
the Pega methodology
.
 Here comes Pega methodology

Scenario1: BVA Business Value Assignment: Defines success factors and expected ROI.
Scenario2: Conception: Discover detailed business requirements and solutions.
Scenario3: Elaboration: Design solutions tailored to the business requirements.
Scenario4: Constructions: Build the application to meet the requirements.
Scenario5: Transition: Validate the application for appropriate implementation of business process.
                                          Deploy the application ,training, and help desk for final production support.

2) Establish a Robust Foundation: Design Class structure with recommended class pattern i.e it
should be understandable, easy to extend  and utilize standard work and data classes appropriately.
3) Do Nothing is hard: Use out of box functionality as much as possible in Initial project release such
as avoiding custom html screens, buttons( simply to avoid custom in every aspect)
4) Limit custom Java: Avoid Java Steps in Activities.
5) Build For Change: Identify and define 10-100 Specific rules that business users own and will
maintain.
6) Design Intent-driven process: Application Control Structure consist of flows, declarative rules and
calling activity as needed
7) Create easy to read flows: Flow must fit on one page and max of only 15 smart shapes, if exceeds
then go for creating subflows.
8) Monitor Performance Regularly: Must evaluate and tune application performance at least weekly
using Performance Analyzer (PAL) to check rule and activity efficiency.
9) Calculate And Edit  Declaratively, Not Procedurally: Whenever the value of the property is
calculated or validated, we must use declarative rules wherever required.( use declare expression
instead of property set method.
10) Keep Security Object oriented too: Security design must be rule based and role-driven based on
who should have acces to each type of work.

How to Delete Case Type Instances in Pega 7 with an Activity

The Designer Studio can be used to view all instances of a given case type rule.

Navigate to the Application Explorer and right click on the case type rule. In the context menu, hover over View and click on
Instances
1. View instances of a case type rule in the Designer Studio or in external DB tool such as pgAdmin
2. Delete a single case type instance by handle with Obj-Delete-By-Handle
3. Delete multiple case type instances with Obj-Browse and Obj-Delete-By-Handle

Q: Different types of Operators


Operator :- Operator is any one among these
 Administrator,
 Business Analyst,
 Manager,
 User,
 Developer (System Architect)

Q: What is Rule and Rule Set?

Rule: - Anything in PRPC is considered to be a rule.

Rule Set:- RuleSet is the container for all your rules.

Soap vs http:

SOAP stands for Simple Object Access protocol. It is XML based used for sending and receiving messages. It is
defined with in XML.

To interact with server, request should be in XML encoded format using SOAP. But in case of HTTP, request can
be sent in HTML, Image, video format etc. SOAP request are sent using HTTP protocol.

in Correspondence. How can i attach a document to an email?

Activities sendemailwithAttachments or sendemailwithallattachments will attach your document to the generated


correspondence and sends it to external party.
Der is a OOTB local action called SendCorrespondence u can try this...it will generate word document where u can write the
content which will send as mail attachment and both attachment and mail will attached to work object

have a n OOTB "Call SendEmailWithALLAttachments

How to call correspondence in activity?

You can use SendSimpleEmail activity which takes message as parameter, you can build the correspondence and set the
O/P of that corr rule by using Property-Set-Corr method in activity and call SendSimpleEmail

How to send an email.

First we need to configure email account before sending an email. Integration > Email > Email Wizard

Create a correspondence e rule

Add sendmail smart shape in the flow.

Call the correspondence in the sendemail properties.

Types Of Caches in PRPC PEGA

These four capabilities are available:

Declarative pages in PRPC PEGA

Node-level declarative pages, created and maintained by declare pages rules (Rule-Declare-Pages rule type), can hold an
arbitrary set of

property values.

Rules cache in PRPC PEGA

To improve performance, Process Commander automatically caches rule instances that are repeatedly accessed and
executed

Eg: the rules that are not present in rulesets.

Rules assembly cache in PRPC PEGA

Logs in PRPC:

we have two types of logs in PRPC

1. Pega Logs

these are the logs written by system whenever exception occurs in our environment.

eg: Null pointer exception or Array index out ofbound exception.


2. Alert Logs:

These are the logs returned by system whenever system finds something undesired execution happens.

Log-Message Method:
By using Log-Message method we can write something into the Pega Logs.

You might also like