Manapega Interview Questions

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 110

Activity

1. Creating User Defined, activities a best practice of development?


A. No, we need to avoid creating our own activity, whenever it is possible.

2. Difference Between Call, Branch and Queue

Call Branch Queue


It Calls Child Activity, then It Branches Child Activity, It Queues Child Activity, But
Parent activity waits for then Parent activity waits Parent activity will not wait
child activity to get for child activity to get for child activity to get
completed, once child completed, once child completed, The parent
activity execution activity execution activity and child activity
completes, control comes completes, controls comes executes in different
back to parent activity. back to parent activity. threads.
Further steps after call step Further steps after Branch
gets executed. step will be ignored This behaviour is called
Asynchronous processing
This behaviour is called This behaviour is called
synchronous processing synchronous processing

3. How to pass parameter page from one rule to another?


A. By selecting the Option “Pass Current Parameter Page”.

4. How to see param values.


A. Parameters we can not see on clipboard. We only see on tracer. Paramter page name
“Unnammed”.

5. What is the difference between Write Now and Commit methods?


A.

Write Now Commit


It performs Immediate Commit on Specific It performs commit of Entire Differ Queue ,
Obj-Save , on which it is selected. More than one Obj-save, those are executed
so far, gets committed.
It will not be able to release LOCK This will release the lock

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


6. What is the difference between Roll back and Obj-Save Cancel?
A.

Obj-Save-Cancel Rollback
This is going to rollback(ERASE) the latest This methods rolls back (Erases) entire differ
uncommitted obj-Save. Queue, all the obj-Save methods, executed
so far, gets erased.

7. When do we need to use Commit, Write now option in the Obj-Save/Obj-Delete activity.

A. When the activity is NOT part of WO (Transactional) processing, then we need above
options, else not needed.

8. What is the option “Allow direct invocation from the client or a service” ?when we use it?

A. When we call activity from Services, Agents, Connectors, HTML controls, we need to
select this option.

9. What are different Activity Types?


A. Activity, Utility, On change, Trigger, Load Data page, Route, Assign etc…

10. What is the Different between Activity Types, Activity & Utility?
A. Activity type Activity can be called from other activities and HTML rules. Whereas utility
can be called from Utility shape.

The main difference is Utility can use only back ground processing methods. We cannot
use front end methods like Show-HTML, Show-Page, Show-Harness, Show-Property
etc….

11. What is the option “Requires Authentication”? When we use it?

Select to require that only authenticated requestors can start this activity, generally the
activity which part of security rule and create in class Code-Security.

12. Suppose when we save multiple records of data let’s say 100, suppose if record 59 is failed
for some reason. How to ensure to revert all the records saved so far to be reverted.

A. We can use OOTB activity “CommitWithErrorHandling” make sure transaction is fully


committed.

13. What is the Difference between, “Continue Whens”, “Skip Whens” at activity pre or post
conditions?
A.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


For example
Precondtion
Condition1 ContinueWhen
Condition2 Skipwhens
Condtion3 ContinueWhens

Continue Whens : When a condition is satisfied, it will execute next when condition. If there
are is not when condition after the current condition, then step will get executed.

Skip Whens : When a condition is satisfied, It ignore the execution of next when conditions,
proceeds executing the step.

14. What is the property for Step Status in activity?


pxMethodStatus.

15. When we have OOTB when rule StepStatusGood, Why do we need again another when rule
StepStatusFail?

A. It’s not only two Status for Step, we have Warn, GoodWarn etc…

16. I want to update the value of px-properties using Activity, how to active this?
A. We can use a method Property-Set-Special. We can update pxProperties.

17. What is the difference between class key and pzInsKey?

A. Class key is Unique ID of an instance, which is defined in the class rule form. For a given
class, we can have more than class key, is possible.

pzInsKey is Unique Primary of an instance. An instance will have one and only one
pzInsKey.

18. What is difference between obj-open, obj-Open-By-Handle?

Both will be fetching one record , page format.


Open will fetch based on class key(s).
Open-By-Handle fetches based on pzInsKey.

19. Different between Write-Now and Commit w.r.to locking?

A. Write Now can not release the lock, whereas commit releases the lock.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


20. What is the difference between Primary and Step Page?

Primary page is the page on which a Rule Runs.

Step Page is the one which we mention at the specific steps.

21. Can we pass local variables from one rule to other rule?
A. No. only params can be passed.

22. Where can see local variable defined on the rules?


A. We can see local variable on tracer, on a page LocalVariables.
To see this, we need to choose an option on tracer settings, Local Variables.

Done.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


23. What is Obj-Refresh-And-Lock Or how to do exception handling to ignore locked cases while
obj-Open?

A. We can use Obj-Refresh-And-Lock


 This method fetches one record onto step page like obj-open.
 If the instance is already being acquired with lock, this method will not have any
impact.
 Else, this method opens the record on to step page and acquire lock on it.
 This method is introduced as exception handling of Obj-Open, in case of clocking.

If we try obj-Open, if lock is already acquired on case, this will halt the program by
throwing error message.
But Obj-Refresh-And-Lock will not halt the program, as given above, that’s what we
call exception handling, during locking.

24. How to call flow from activity?

We can do this is by calling OOTB activities

Call NewFromFlow(WorkClasSName, FlowName)


Call New
Call Add
Call AddWork

Activity
1. Creating User Defined, activities a best practice of development?
A. No, We need to avoid creating our own activity, whenever it is possible.

2. What are the max records that an Obj-Browse can fetch?


A. 10000 records.

3. What is the difference between Primary page and Step Page


A. Primary page is the Page on which a rule runs.
B. Step page is the one which we mention at a step. If we don’t mention any page at step, that
will be occupied by Primary page.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


4. Difference Between Call, Branch and Queue

Call Branch Queue


It Calls Child Activity, then It Branches Child Activity, then It Queues Child Activity, But
Parent activity waits for child Parent activity waits for child Parent activity will not wait for
activity to get completed, activity to get completed, once child activity to get completed,
once child activity execution child activity execution The parent activity and child
completes, control comes completes, controls comes activity executes in different
back to parent activity. back to parent activity. threads.
Further steps after call step Further steps after Branch step
gets executed. will be ignored This behaviour is called
Asynchronous processing
This behaviour is called This behaviour is called
synchronous processing synchronous processing

5. How to pass parameter page from one rule to another?


A. By selecting the Option “Pass Current Parameter Page”.

6. How to see param values.


A. Parameters we can not see on clipboard. We only see on tracer. Paramter page name
“Unnammed”.

7. What is the difference between Write Now and Commit methods?


A.
Write Now Commit
It performs Immediate Commit on It performs commit of Entire Differ Queue , More than
Specific Obj-Save , on which it is one Obj-save, those are executed so far, gets commited.
selected.
It will not be able to release LOCK This will release the lock

8. What is the difference between Roll back and Obj-Save Cancel?


A.
Obj-Save-Cancel Rollback
This is going to rollback(ERASE) the This methods rolls back (Erases) entire differ Queue, all

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


latest uncommitted obj-Save. the obj-Save methods, executed so far, gets erased.

9. When do we need to use Commit, Write now option in the Obj-Save/Obj-Delete activity.

A. When the activity is NOT part of WO (Transactional) processing, then we need above
options, else not needed.

10. What is the option “Allow direct invocation from the client or a service” ? when we use it?

A. When we call activity from Services, Agents, Connectors, HTML controls, we need to select
this option.

11. What are different Activity Types?


A. Activity, Utility, On change, Trigger, Load Data page, Route, Assign etc…

12. What is the Different between Activity Types, Activity & Utility?
A. Activity type Activity can be called from other activities and HTML rules. Whereas utility can
be called from Utility shape.

The main difference is Utility can use only back ground processing methods. We cannot
use front end methods like Show-HTML, Show-Page, Show-Harness, Show-Property
etc….

13. What is the option “Requires Authentication”? When we use it?

Select to require that only authenticated requestors can start this activity, generally the
activity which part of security rule and create in class Code-Security.

14. Suppose when we save multiple records of data let’s say 100, suppose if record 59 is failed
for some reason. How to ensure to revert all the records saved so far to be reverted.

A. We can use OOTB activity “CommitWithErrorHandling” make sure transaction is fully


committed.

15. What is the Difference between, “Continue Whens”, “Skip Whens” at activity pre or post
conditions?
A.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


For example
Precondtion
Condition1 🡪 ContinueWhen
Condition2 🡪 Skipwhens
Condtion3 ContinueWhens

Continue Whens : When a condition is satisfied, it will execute next when condition. If there
are is not when condition after the current condition, then step will get executed.

Skip Whens : When a condition is satisfied, It ignore the execution of next when conditions,
proceeds executing the step.

16. What is the property for Step Status in activity?


pxMethodStatus.

17. When we have OOTB when rule StepStatusGood, Why do we need again another when rule
StepStatusFail?

A. It’s not only two Status for Step, we have Warn, GoodWarn etc…

18. I want to update the value of px-properties using Activity, how to active this?
A. We can use a method Property-Set-Special. We can update pxProperties.

19. What is the difference between class key and pzInsKey?

A. Class key is Unique ID of an instance, which is defined in the class rule form. For a given
class, we can have more than class key, is possible.

pzInsKey is Unique Primary of an instance. An instance will have one and only one
pzInsKey.

20. What is difference between obj-open, obj-Open-By-Handle?

Both will be fetching one record , page format.


Open will fetch based on class key(s).
Open-By-Handle fetches based on pzInsKey.

21. Different between Write-Now and Commit w.r.to locking?

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


A. Write Now can not release the lock, whereas commit releases the lock.

22. What is the difference between Primary and Step Page?

Primary page is the page on which a Rule Runs.

Step Page is the one which we mention at the specific steps.

23. Can we pass local variables from one rule to other rule?
A. No. only params can be passed.

24. Where can see local variable defined on the rules?


A. We can see local variable on tracer, on a page LocalVariables.
To see this, we need to choose an option on tracer settings, Local Variables.

25. What is the purpose, pega is maintaining different types of activities.

Activity types will apply some restrictions on using activity methods.

For example create activity type activity

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Run this

This activity is displaying a screen.

Here, show-proeprty or show-Page etc… UI methods.

Now, same activity change the type to utility

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Save
Got error

Method—
Utility Activity cannot display html

Utility activity can not display HTML.

The reason being , Utility activity is for Background processing during transaction.

Done.

We can not use UI methods for Back Ground Processing activity.


Done.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

26. What is Obj-Refresh-And-Lock Or how to do exception handling to ignore locked cases while
obj-Open?

A. We can use Obj-Refresh-And-Lock


🡪 This method fetches one record onto step page like obj-open.
 If the instance is already being acquired with lock, this method will not have any
impact.
 Else, this method opens the record on to step page and acquire lock on it.
 This method is introduced as exception handling of Obj-Open, in case of clocking.

If we try obj-Open, if lock is already acquired on case, this will halt the program by
throwing error message.
But Obj-Refresh-And-Lock will not halt the program, as given above, that’s what we
call exception handling, during locking.

27. How to call flow from activity?

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


We can do this is by calling OOTB activities

Call NewFromFlow(WorkClasSName, FlowName)


Call New
Call Add
Call AddWork

28. How to trace child activity when we use “Queue”.


A. Because, queue runs child activity in async mode, In the tracer we need to select the option,
Asynchronous Activity.

29. Imaging we have 4 tables t1,t2,t3,t4 - an activity with Obj-Save

Step1 : Obj-Save T1 NO WRITENOW


Step2 : Obj-Save T2 WRITENOW
Step3 : Obj-Save T3 NO WRITENOW
Step4 : Obj-Save T4 WRITENOW

Standalong activity.
If we run above activity , what tables will have data?

T2,T4.
Done

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Step1 : Obj-Save T1 NO WRITENOW
Step2 : Obj-Save T2 WRITENOW
Step3 : Obj-Save T3 NO WRITENOW
Step4 : Obj-Save T4 WRITENOW
Commitl

Standalong activity.
If we run above activity , what is the order of inserting data into tables

T2,T4, T1, T3

Done.

Step1 : Obj-Save T1 NO WRITENOW


Rollback
Step2 : Obj-Save T2 WRITENOW
Step3 : Obj-Save T3 NO WRITENOW
Step4 : Obj-Save T4 WRITENOW
Commit

Standalong activity.
If we run above activity , what tables will have data

T2,T4, T3

Done.

Agents
1. What is the purpose of mentioning access Group for Advanced Agent.
A. Agent when it wakes up, the activity which we call in the agent rule form will be picked
from the rule sets which are associated with the mentioned access group related
application.

2. When we don’t mention any access group for the advanced agent then what is the access
group PRPC going to use?

A. PRPC uses Guest Access Group by name “PRPC:Unauthenticated”.

3. What is the access group pega used before we login to PRPC?

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


A. Before an operator Login to PRPC, process commander uses an access to run the
required rules, which is Guest role access group ““PRPC:Unauthenticated”.

4. How to stop an agent?

Using Admin Studio, or We can open agent schedule rule , un check “Enable” check box.

5. We have a standard agent , which is running on 4 nodes. The agent has a schedule defined
like Every Day , IST time zone, 7 AM.

The 4 servers are there at different location, INDIA, USA, JAPAN, AUSTRALIA.

We want agent to run at 7 AM , based on server Time Zone?

A. After the agent is deployed, we need to update agent schedule rule on each server to
respective time zone.

6. Advanced Agent, Running on Single Node. Schedule is 9 AM Every Day.

Requirement is, we want this agent on single node to run at 9 AM Monday, 10 AM Tuesday,
11 AM Wednesday and so on….

Skimming :- Is a process of Copying rules from lower versions to next higher minor or major version.

Two Types :

Skimming creates rules for a major or minor RuleSet version by copying selected rules of

Examples
Major: Skimming rules in 06-05-01 through 06-09-25 into 07-01-01

Minor: Skimming rules in 06-05-01 through 06-09-25 into 06-10-01

Major Skim
During a major skim, rules with Availability of 'Yes', 'Blocked', and 'Final' are carried
forward. Rules with availability of 'No' (not available) or 'Withdrawn' are filtered out.
Blocked rules are carried forward because a Blocked rule can block rules in other rulesets,
and that relationship should be maintained if it exists.

Minor Skim

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


During a minor skim, rules with Availability of 'Yes', 'Blocked', 'Withdrawn' and 'Final' are
carried forward. Rules with availability of 'No' (shown as 'Not Available' in the table below)
are filtered out.

Table of rules carried forward


The following table displays which rules are carried forward, based on availability.

Available Not Available Final Withdrawn Blocked


Major Yes No Yes No Yes
Minor Yes No Yes Yes Yes

2. Why Blocked rules always gets carry forwarded, after skimming.

A. We block a rule to not get the rule picked during rule resolution process.

Let’s say business wants to drop off a rule’s execution in production. The rule is there in version 01,
02, 03, 04.

We need to create the above rule in version 5 (Availability = Blocked) and then movie.

Going fwd this rule will not be picked by PC, during rule resolution process.

--

After the above is done, let’s say we are skimming from version 01 to 05, if blocked rule is filtered,
version 04 will get moved. The issue is going to be , the rule will still run in production which
business do not want it to run.

To avoid such situation PRPC always carried blocked rules to next minor or major version while
skimming.

3. After skimming is done, what are the follow up tasks?

A. We need to update application rule form , the respective rule set for it’s minor or major version.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

Rule Set Vs Application Validation:

Application Validation:

For example:

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


We have two activities

Activtiy1 , Activity 2

Activity1

Call Activity2

Application Validation:

PRPC searches for Activity2

 In the current application rule sets, if rule is not there


 Then go to parent application (FW), if not there
 PRPC application

Rule Set Validation:

This check for the rules at prerequisite rule sets.

Pre-requisite rule set means , that’s a parent rule set.

Here BAJAJALLInt, UIKIT are parent rule set of BAJAJALL.

Let’s say Activiy1(BAJAJALL) and Activity2(BAJAJALLInt)

Activity1

Call Activity2

PC, looks up for activity in the pre-requisite rule sets that is

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


 BAJAJALLInt, UI-Kit… if not there
 BAJAJALLInt Pre-requisite rule sets, UI-Kit pre-requisite ruleset… so on…

Done.

4. What is Your application class structure

1. Org, IMPL Work and FW Work (Derives from Work-Cover-)

2. At each level we have Data and Int (Derives from Data- and Int-)

3. Under work classes , we have case types (Derives from Class Group)

Optimally we have service Int (Work Int class)

Done.

5. What is the difference between a class Group and Work pool

 Farm-FarmersI-Insurancework(Class Group)

Class is an instance class of WO(s), which derives from Work- or sub classes.

 Farm-FarmersI-Insurancework (Class Group)


VehicleInsurance (Case Types)
HealthInsurance (Case Types)
PersonalInsurance (Case Types)

Class Group + All Case Type = Work pool

A class Group which is referenced at Access Group’s advanced tab will be treated as Work
pool.

Work pool is Work class + case types to gather defines work pool.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

5. Which inheritance of the classes takes first Priority? How to override it to not give first
priority.
A. Pattern Inheritance is first priority when below option is selected.

If we uncheck the above check box, direct inheritance will take first priority.

Done.

1. What is the OOTB activity that run when we route?

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


When we route to WorkListtoWorkList (Type = Route)
When we route to WorkQueue or WorkBaskettoWorkBasket (Type = Route)

2. Can we call an activity using assignment shape?

Yes, we can call activities of type “Route”. For example toWorkLsit or toWorkbasket.

3. Where does assignments gets Stored?

Assignments gets stored into either of below tables.


PC_ASSINGN_WORKLIST (When assignment routed to single operator)
PC_ASSINGN_WORBASKSET (When assignment routed to Work Queue or Work Bakset)

4. How to Route conditionally either to Work list or Work Basket.

Using the business logic option we can do it

Now, the return values of Decision tree should be OperatorID’s or WorkBasket names.

Accordingly It gets routed.


Done.

Suppose the same you have to implement by your own activity.

Create an activity of type, Route.


In this activity add two steps,
Precondition (A=B) Call toWorkList
Precondtion (C=D) Call toWorkBakset

Done.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


5. What is the relation between work and workist/workbasket tables

Work table pzInsKey column value will be there in above table with in a column
pxRefObjectKey

Work table pyID column value will be there in above table,with in a column
pxRefObjectInsName

6. I want to create to fetch open assignments of Current Operator.


Create a report in assing-worklist class.

Where Condition pxAssingedOperatorID = OperatorID.pyUserIdentifier.

7. What is get next work

When an operator login and click on get next work.

1. PC , Open the Top Assignment from Work List


2. If there are not Work list items, then PC pick from Work Basket

8. How to override to pick the assignment from work basket first instead of Work list.
Go to operator profile and choose below option

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Suppose if an operator has access to more than one work basket via different work groups,
then we can mention the order of work basket look up in the operator rule form

Done.

9. While routing assignment to operator, we would like auto reroute the assignment to other
work list or work basket, if the operator is on Leave. How to achieve this?

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


A.

We can specify a substitute operator for the operator who is on leave.

At run time PC , auto re routes the assignment to substitute operator or Work queue when in case
operator is on leave.

To get this done, while routing we need to one option “Check availability”

Done.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


10. How to an operator with access to a Work basket without being him part of the respective
work group?
A. We can achieve this by specifying the Operator Id in Work Basket rule.

This referred as Additional Contacts.

Parent and Child cases


1. How to Access Parent case data at child cases?
A. At each child case, parent case data will be made available in the name of a system
created page, pyWorkCover.
pyWorkCover is a Copy of pyWorkPage of Parent Case.

2. You are writing an activity at Child case1, how to copy the data of Child case2.
A. We should open the childcase2 on a temp page and use it.

3. How to update Data from Parent to Child during Processing of Parent case.
A. We need to open the child case, on to temp page, update Parent case data to temp
page, lock and Save it.
B. PRPC has an OOTB flow shape for the same. “Update Case”

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


4. Where is the relation defined between parent and child cases? How do we know , the child
cases of a parent?

Under pyWorkPage of Parent case, we have “pxCoveredInsKey”. Which will have all it’s child
cases, pzInsKeys.
This pxCoveredInsKeys is an OOTB value list property.

Done.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


5. Write an activity at Parent case and fetch child case data.
We can use Obj-Open-ByHandle and Open child case data.
Loop through for each value in Valuelist and pass the pzIsnKey like below
pyWorkPage.pxCoveredInsKeys(<CURRENT>)

6. We are designing child case1, write an activity to fetch other child case(s) data.

We can use Obj-Open-ByHandle and Open child case data.


Loop through for each value in Valuelist and pass the pzIsnKey like below
pyWorkCover.pxCoveredInsKeys(<CURRENT>)

7. We want to update data from parent to child at the time of a child case is getting created.

Two ways
1. Data Propagation : Copying data from parent to child ,while child is getting created.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


2. We have to write the logic in pyDefaultDataTrnasform , which should be created under
Child case type class.
.FirstName = pyWorkCover.FirstName.

8. How do you know the number of Child cases of a parent case?


We can look up the value of OOTB properties

pxCoveredCount 2

9. How do you know , how many child cases are open , under parent case? Which are
yet to be resolved?

We can look up the value of OOTB properties


pxCoveredCountOpen

10. How do you know weather all child cases are resolved or not?
We need to write when condition like
pxCoveredCountOpen = 0.

For this PRPC has OOTB when rule


“AllCoveredResolved”

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


11. We want to stop the parent case to wait till all children gets resolved. On click of submit
button in an assignment, PC has to check all children resolved or not? If resolved, should
move forward else display a message on the screen.

A. In the post processing activity, use a precondition on method “Property-Set-Message” or


“Page-Set-Messages” to display a message on page.
B. In the post processing activity, Call Validate rule using Obj-Validate Method.
C. In the validation tab of flow, we can call validate rule.
D. We can use “Decision Shape- Fork” and connect back to same step when
pxCoveredCount !=0
12. We want to stop the parent case to wait till all children gets resolved, Parent case should be
on wait.

We can make parent wait by using wait shape

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Wait can be based on time, hard coded or Prop Reference.

OR

It can be dependent , case Status or Resolution.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


13. We have used a wait shape, where case got stuck , how to manually release this?

When case reaches wait shape, PC pushes that into a work queue, Deferred@pega.com

To get access to the above work basket, we can add it to operators Work Group.
Or we can add operators into Work Basket by updating it’s rule form

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


DONE.

14. How to assign the value of a Property at parent case which is SUM of Properties of multiple
child cases? We have a requirement like below?

Let’s say we have

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


NoOfPositionsfilled = NoOfPEGAPositionsfilled + NoOfJAVAPositionsfilled + NoOfDTPositionsfilled

It is possible by using OOTB feature of calculations tab

Done.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


15. How to achieve || processing using Covers?
A. We need to choose the option “Do not lock parent, when the child is open”, under
settings tab of “Child case types”.

CASETYPE
1. What is the name of Case Type rule get’s created when we create a case type
A. pyDefault

2. What is the Flow That gets executed when we run case type , which creates WO
A. pyStartCase

3. A Case Type class is ?


A. Belongs to a Class Group.

4. What are the rules that gets executed when we run a case type
A. Case Type pyStatysCase (Flow) pzInitializeStage (Activity) GetFirstStage (Activity)

5. How to move from one stage to other stage by leaving in between stages.

We can use ootb flow shape or call ootb activity “Change Stage” “pxChangeStage”.
By default Change stage will move the case to “

6.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Types of Locking

Two Types

1. Default Locking (Only One user can edit the case) : Lock gets acquired, when an operator
Opens the Case.
2. Optimistic Locking (Multiple Users can edit the case) : Lock will be acquired inly when an
action is performed and gets release after action completed. That means multiple operators
can open and edit the case at same time, But only one can submit at a given moment,
If two people at same time “Lock issue”.

7. We have a flow with two assignments (Optimistic locking)


First assignment – Customer details
Second assignment – Vehicle details.

Two operator opened Customer details assignment, Filling form

I. Operator 1 has filled the Form at 7:30 AM and click on submit


II. Operator 2 has filled the form at 7:31 and click on submit

The submit action of operator 1 to get completed, will take 5 minutes.

Now what happens to operator 2, submit action?


A. Displays Lock issue.

8. Another Question is
Two operator opened Customer details assignment, filling form

III. Operator 1 has filled the Form at 7:30 AM and click on submit
IV. Operator 2 has filled the form at 7:35 and click on submit

The submit action of operator 1 to get completed, will take 4 minutes.

Operator 1, customer details got stored into “Work Table”.

Now what happens to operator 2, submit action and data submitted by Operator 2?

i. Operator 2 will not be facing lock issue


ii. Data submitted by operator 2 is not going to store into table, because the
customer details assignment has already been completed by Oprator1.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


First operator has completed the assignment. PRPC displays a screen saying
assignment completed and displays a refresh button.

9. What is table where Pega Stores the last generated WO Number for a given prefix?
A. PC_Data_UniqueID (pyPrefix, pyLastServeredID)

10. What is the flow creates WO, when we run case type.
A. pyStartCase

Calls Activity pzInitializeStage

Call pzGetFirstStage

11. How a case moves from One to Another Stage?


A. PC, internally calls an Activity “pxChangeStage”.

Circumstance
1. We have a rule “CustomerDetailsForm” in version 01-01-01. It has been circumstanced and
date qualified with data range Dec 01 TO Dec 30. Use is access CustomerDetailsForm on Jan
01. Where user meets circumstance condition. Now which instance will be picked by process
commander?
A. Base instance, as date is not qualified though circumstance condition is met.

2. We have a rule CustomerDetailsForm there in 01-01-01 (baserule), circumstanced it to


version 01-01-02 with a condition.
A user tried to access this rule and circumstance condition is not met. Which version of rule
will be picked? Base or Circumstance?

A. Circumstance instance will be picked as it was there in higher version.

Random Interview Questions

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


1. Do you know how the lock string (pxlockhanle) is formed in
pr_Sys_lock table? If parent and child is mapped to the same db
table, then pzInskey will be same for parent and child. Can we
customize the lock string?
A. Customizing Lock String means, we need to store the parent
and child objects into Different Tables. Else it will be same
format.

2. Data types has data, where do you use Data Types in application,
why we go for data type, when do you use Data Type? (OR) Why
the Data Type concept came into the picture when you have an
external db (SQL DB)?
A. If we want to define some reference data which we want to
populate into dropdown, auto complete etc… we need data
types. These are like reference tables.

3. You have a section of large data, for loading that section it will
takes time for complete section. So that we need to give
permission to user to edit section what ever is loaded page. How
do you do it ?
A. We can use Privileges to give permission. In the section we can
use the function OperatorhasPrevilege for visibility.
4. In Page list you need to insert a page how u will insert? And how
the rest pages index will get updated ?
A. We can user <APPEND> Key Word like.

Page-Copy
Copy From = temppage
Copyinto :Customer.Addresses(<APPEND>)

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


The index value pxListSubscriptparam gets auto updated to
next number.

5. We have 5 levels of approvals each operator can give some


credits and update the data .now each operator updated data
must be visible by next operators for example op3 can see what
op1 and op2 has updated . how can u do it ?
A. We can use Split for each and route the assignment to multiple
operators. Or We can do by cascading approvals.

In the Approval screen we can add a page list let’s see


PreviosAppovalsCredits.

When Operator approves and give credits. We can copy Credits


data to Above Page list.

Which we are displaying in same section using table layout.

So every operator can see what was credits given before


manager.

6. How can we download some case documents of users and we


need to forward those documents to manager?
A. In the manager review harness we need to use OOTB section
pyCaseRelatedContent. Then it will display the list of
attachments.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


7. In dev studio we have search bar in that some of operators cant
find Pz rules what could be reason ?how can u set it?
A. Those are not indexed by Pega or In the search they many have
to choose all applications.
8. Have you ever used digital signature?
A. No.This will be used in mobile applications to capture
signature.
9. What Gust Access group contains ?which access group it actually
contains ?
B. Guest users typically have access to rules in the RuleSets listed
in the PRPC:Unauthenticated
10.how to prevent the operator from login on multiple systems or
web browsers ?
A. We can check the operator state in operator table.
B. State – Connection status of the operator. The values for this
attribute are:
C. ACTIVE – The operator is currently logged in to the system.
D. AWAY – The operator session has timed out.
E. DISCONNECTED – The operator has been disconnected from
the network because of one of the following events:
F. The operator closed the browser session without logging out of
the system.
G. The operator browser session crashed.
H. The network connection is down.
I. The operator status becomes ACTIVE when the network
connection is restored or when the browser session is restored
by the operator.
J. The operator status of DISCONNECTED is available beginning
with Pega 7.3.
K. OFFLINE – The operator is logged out of the system.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


11.In a situation some of operators getting force log off, where rest
of operates are working fine. how can you sort out this issue ?
and where and all you look for issue ?
A. We need to check the Application as well as web server Logs.
To find root cause. Also check prconfig.xml file to see max
number of connection allowed.
12.In some scenarios the flush data page is not working and not able
to get require data .how can u sort out ?
A. Always choose, Refresh strategy “Once per Interaction”, to
refresh for every interaction.
13.What is difference between Pega rules and PRPC rules ?
A. Question wrong.
14.How can you create a section dynamically ?
A. We need to create an activity and pass the params of section
name, class name, rule set, version, app context etc. Obj-Save
into Rule-HTML-Section Table. And commint.
15.A case is routed to a operator and the time has breached . Now
you have to move to next assignment aromatically ones time is
breached
A. User SLA , Advance Flow, mention current flow action name.

Data Transform
1. How to call an activity from Data Transform?
A. We can use Below functions
1. CallActivity(Pagename,ActivityName)
2. pxExecuteAnActivity(Pagename,ActivityName)

2. What is the difference between Append to & Append and Map to?
A. Both are for copying pages from one page list to other page list.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


If both page list refers to same class then use “Append To”
If both page lists refers to different classes then use “Append and Map to”.

3. How to call decision table or decision tree from a DTF?


A. pxEvaludateDecissionTable(Page name, DecRuleName)
pxEvaludateDecissionTree(Page name, DecRuleName)
ObtainValue(Page name, DecRuleName)

4. How to call report definition from DTF?


A. CallActivity, in the activity call report definition.
In the activity we can call report definition rule as shown below

Call Rule-Obj-Report-Definition.pxRetreiveReportData

ReportDef Class, ReportDef name, Page.

5. What is “Call Super class data transform” option available in DTF.

A.

1. When this option is selected, process commander check from the same name DTF in
the parent class.
2. If Parent class has same name DTF continue Else Step 8
3. At Parent class again check for “Grand parent Data Transform”
4. If Grand Parent class has same name DTF continue Else Step 8
5. This process of check will continue up to Base Class.
6. Now, the execution of DTFs starts from base class to till bottom current class.
Execution is from TOP to Bottom.
7. The last DTF gets executed is “Current Class”. DONE
8. When there is not Parent class DTF, only current class gets executed and done.

6. What is the difference between DTF and Activity?


A. DTF is an alternate of Property set method of activity.
DTF can not do Open, Browse, Calling services etc… Itcan not do like acquiring lock etc…
But activity can do all this.

DTF is a subset of Activity.

Data Types

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


1. What is the Difference between PR and PC Tables?

Any Business will have two types of Table

1. Transaction Tables (OR) Business Table


2. Master Table (OR) Reference Table (OR) Static Tables

For example table a bank transaction of money deposit

While we perform deposited transaction


There are THREE tables that gets utilized during the processing

1. Customer – ID, FN, LN, PH_Numb


2. Account Table – ACCT_ID, TYPE, etc
3. Account_Transactions table - TRANS_ID, CREDIT, DEBIT, BALALNCE

Out of all the above 3, only account_transaction table gets impacted , by updates or
insert.

As we perform the transactions, the tables that gets impacted are TRASACTION
TABLES ,where as during transaction or during some other processing, other tables gets
utilized by application – this tables are reference or static tables.

 Transaction Tables – For every business transaction, table gets inserted or updated.
 Reference Table – During transaction this tables data will be utilized but this tables
will not get inserted or updated.

In PRPC we have PC and PR tables.

PC tables are – Transaction Tables

PR Tables are - Reference Tables.

---

PC Table Example – PC_WORK – Which is transaction table

PR Table example – PR_Operator – Which is Reference table.

DONE.

Data Page
1. What is Aggregate Data Source in Data page?

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


A. We can get the data from, multiple sources like RPTD, Connector, DTF etc… This possible
with Aggregate Sources option.

2. Why We don’t have editable Data Pages at Node Level.


A. To avoid Data Inconsistency among requestors. This options is not made available for
Node Level.

3. If we do not mention any refresh strategy, when the D page does gets removed from server.
A. 24 hours.

4. What is Reload once per interaction?


A. For Every WO that we create, D page create created.

5. How to delete a read only data page using activity?


A. Call this activity “Call FlushDeclarativePage (Name of DPage)”.

6. What were Data pages called before Pega 7.


A. Declare Pages.

7. How to call Data Page Asynchronously? What is the difference between Referring DPage
name to call it & using Load-Datapage Method to call it.
A. We can call Dpage Asynchronously, by using the method “Load-DataPage”.Refering page
is going make the processing Synchronous.

This Makes the Data page to be called at activity step and, activity will proceed forward
with next steps, without waiting for D page to be loaded. This is Asynchronous
Behaviour.

8. What is Pool ID in Load-Data PageMethod.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


When we define Pool ID @Load-Data Page Method, we can use A Connect-Wait method
Followed by Load-DataPage.

Generally we use Pool ID when we have more than one Load-DataPage methods are being
used as shown below

At the connect-wait, PC collects pool ID ‘P1’ and when all Load-Datapage methods of P1 pool
Id, gets completed, Connect-Wait gets released.

Done.

9. How to pass Parameters to a Data page While referring through an Activity

A. We can pass as show below D_getCitiesD_GetCities[stcode:"AP"]

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Decision Rules
1. Differences between Decision table and Tree
A.

Decision Table Decision Tree


.Logic used is If, else if, else if… Otherwise .Logic used is If, if, if , nested if… Otherwise
. Here the number of Properties for every logic .Each logic can have different properties being
is Fixed. used.
. We can use expression builder for properties, . We cannot use expression builder for return
values and return results. results.
.We can all other decision rules using only . We can call other decision rule by selecting
functions pxEvaluateDecsionTable, the under configuration tab “Allow Selection of
pxEvaluateDecsionTree, ObtainValue(). Call decision option”.

We have Evaluate all rows option available We don’t have evaluate all rows available.

2. How to return multiple results using Decision Table


A. We can choose the options evaluate all rows under results tab of decision table.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


3. How you decide whether to created decision table or Decision tree?
A. For all the condition if we have fixed properties then Decision table.
For each condition if we have different set of properties to be used, then decision tree.

4. How to call an activity for decision table.


A. Using below functions CallActivity(pagename, activity name, parampagename),
pxExecuteActivity(pagename, activity name)

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


DONE.

5. How to call decision table or tree from a DTF


A. Using FucntionspxEvaluateDecsionTable, pxEvaluateDecsionTree, ObtainValue().

Declare Expression
1.

Declare expression assigns value to a target property.

A = B+C

A is target property

B and C are source proeprties.

Declare expression gets executed whenever there is a change in source property values. This is
called “Forward Chaining”.

Go to my you tube channel to watch backward chaining.

*Declare expression is an alternate rule to activities property-set

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Activity or DTf we need to call, where as Declare expression no need to call.

2. I want to restrict a property to be not used as a target property in declare expression , by


developers. How to do it.

Go to property  Advanced tab  Select “Can not be a declarative Target”.

Done.

FYI
We used to have change tracking tab in declare expression before Pega 8.2 version. From 8.2
onwards it has been removed for below reason. Still we can access it.

Change tracking tab removed from declare


expressions

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


To simplify declare expression configuration, the Change tracking tab has
been removed from the declare expression rule form. To use the Change
tracking tab, on the declare expression rule form, click Actions > Use legacy
expression.

To access older version rule form of declare expression.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Now, we got change tracking tab.

Done.

Question : Is declare expression forward or backward chaining.

Answer : It has both behaviours.

Declare On change
1. What should be the activity type when we call it from declare on change
A. OnChange

2. What we do using declare expression, the same can be done in declare on change as well.
Then why we need declare expression as a separate?

A. Declare on change is only forward chaining, whereas declare expression has backward
chaining is also possible.
Declare on change can do, what a declare expression does, only in case of Forward
chaining manner but, a declare expression’s backward chaining cannot be done by
declare on change rule.
3. Can we do property-set (in the Onchange activity) of same property(s) which are involved in
declare on change rule? What happens if we do it?
A. The processing or execution of activity go into INFINITE LOOP.

File Listeners
1. How to Trace File Listener related activities?
A. Using Admin studio we can select the listener and trace option is there.

2. What is the Access Group on which listener and it’s service rules runs.
A. Access Group mention in Service Package.

3. How to Ignore top record of CSV file, for it’s processing.


A. At the Parse Segment we need to choose the Option “Only Once”.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


4. How to retry multiple times, when file processing is failed?
Use below option

5. How to parse an Excel File?


A. Use OOTb activity MSOParseExcelFile or pxParseExcelFile.

Flow Actions
1. How to hide Default action buttons submit, save , cancel of flow actions
A. Go to action tab, and choose the option of “Hide Default action Section Buttons”.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


2. How to change the labels of Submit, save , cancel to something else.
A.

3. How to Hide a flow action from Specific Operator like manager or user?

In the security tab of flow action use when rule or privilege.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

4. What is the OOTB activity that runs, on click of submit, which completes the assignment.
A. FinishAssignment.

5. Difference between flow action and local action


A. Flow action performs an action and completes the current assignment and advances the
case from current assignment to next level in the flow.
Where as Local action allows is the perform an action but it will not complete the
assignment means case will be there on same assignment without advancing forward.

6. What is the advantage of local action?


A. Using local action we can edit the completed assignment related WO data without the
need of going back to assignment.

Differences between Process flow and


screen flow
Process Flow Screen Flow
 It creates a work object  It cannot create work object (By
Default)

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


 For every assignment we see  For every assignment we get next,
submit button, means when an back and finish buttons available
assignment is completed, we accordingly. We can navigate
cannot navigate back. between assignments.
 Flow action can be called on  Flow action can be called, on
assignment shape outward assignment shape itself. Only one
connector. Here we can call flow action per assignment is
multiple flow actions per possible.
assignment.
 Harness can be called, per each  Harness can be called on start
assignment. shape of screen flow that means for
all assignments in screen flow same
harness.

 Routing option is available on  Routing option available on Start


assignment shape. shape of screen flow.
Each assignment can be routed to  That means all assignments in
different operator using screen flow gets routing to one
assignment shape. single work list or work basket.
 All assignment must be worked on
only by one operator.
 By default, PRPC performs a save  By default, PRPC performs a save
and commit for each flow shape. and commit for each flow shape.
 Here, on start shape screen flow
“Sava on Last step” option is
available.
 If we select this option, the save
and commit happens only at the
end of screen flow.

2. Can we use Integrator shape of Split join shapes in screen flow?

A. Screen flow we cannot use any advanced shapes except split for each.

3. We have a process flow and sub flow as described below.

Process Flow

A1 SubProcessA2(Routedto – User1)

Subflow

A2(Routed to – Manager1)

On sub process we have selected SPIN OFF OPTION.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


After we executed process flow, submit assignment ONE, Sub flow assignment and A2 of
process flow bother have been created and routed to Above Operators.

Both have logged in , trying to open the assignment, will they be able to parallel work on it?
Or not? What is the reason?

A. Not able to work on parallel, because of default locking.

4. How to call a flow from activity

Call NewFromFlow
FlowName
Class Group Name

5. How many different ways we can create WO.

A.

1. From activity : Call New, Call NewFromFlow, Call Add or AddWork, Call svcAddWorkObject

2. Flow from portal

3.Case Type form portal.

4. From Services CallsvcAddWorkObject (We use this activity when we create cases during a service
reuest).

2. What is the Difference between Sub process (Spin OFF), Split Join, Split for each?

Sub Process (Spin Off) Split Join Split for Each


We can call one sub flow We can call at least two sub We can one sub flow, passing a
flows page list. Sub flow gets
executed N number of time.
Where N = Number of pages in
page list.
This is Synchronous with no This is Synchronous This is Synchronous
spin off.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Asynchronous with Spin OFF
Synchronous: Parent flow will Join (ALL) Join (ALL)
wait till sub flow gets Parent flow will wait till all sub Parent flow will wait till all sub
completed. flows completed. flows completed.
Join (ANY) Join (ANY)
Asynchronous: Parent flow will Parent flow will wait till at Parent flow will wait till at
not wait for the sub flow to be least one sub flow to be least one sub flow to be
completed. That means parent completed. completed.
flow can be finished before JOIN (SOME – Condition) JOIN (SOME – Condition)
sub flow. Parent flow will wait for at Parent flow will wait for at
least one sub flow to be least one sub flow to be
completed given condition completed given condition
must be satisfied. must be satisfied.
Exit Iteration (Condition)
During loop, it exits the loop,
when a given condition
satisfied.

Harness
1. What is the difference between section and harness
A. Section is to design UI, sections holds controls mapped to properties.
B. Harness is container of Section, which defines the appears of UI, and processing.

2. What is the different between harness and flow action.


A. Harness is container of Section, which defines the appears of UI, and processing. We
need to create harness to include section when the section is no for Assignment screen
B. Flow action is container of section, which has to be create when we want section to be
displayed at assignment.

3. What are different OOTB harness rules provided by pega?


A. New, Perform, confirm , Review

4. What are the activity that creates WO


A. Add AddWorkGenerateIDWorkcommit

5. How to create work object by using activity


We can call OOTB activities AddAddWork

6. What is the OOTB section which loads flow action into perform harness
FlowActionHTML_Simple.

7. What is the OOTB section which loads Submit, save, cancel buttons into assignment?
pyCaseActionAreaButtons.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Classes &Inheritance in Pega
1. Types of Inheritance:
 Pattern
 Direct

2. Which Inheritance takes First priority

A. Pattern Inheritance

3. Why Pega gives, first Priority to Pattern Inheritance by Default?

A. Because PC, want’s to check for the rules in User Defined classes first (Application,
Div., Org) and then OOTB classes in direct inheritance.

4. What is the purpose of Direct Inheritance in Pega?


A. To Utilize OOTB rules of OOTB classes, we need Direct Inheritance.

5. Can we have more than one direct parent chosen for a class?
A. NO. ONLY One.

6. How to change the priority of Pattern inheritance?


A. In the class rule form, Un-Check the option “Find by Name First (Pattern)”.
Then Direct Inheritance takes First Priority.

7. What is the Inheritance between Implementation Work and FW work classes?


A. Direct Inheritance.

Product Rule
1. What is Exclude NON-Versioned Rules?
A. Selecting this options, PC ignores taking Data instances into Product File.

2. When do we go for the option “Allow unlocked ruleset versions”.

When we have delegated rule in Production rule sets, we need to choose this option
because, production rule sets are unlocked even in production environment , allowing the
business to modify the rules.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Watch below videos
1. Types of Rule sets like Production, Branch rulests etc…
2. Rule Delegation

3. What is Rule Delegation?

It is the process of allowing business to access the business rule and modify from their
portals.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net
Business can update directly.

Delegated rule , we create in Production rule set  Product rule sets are left unlocked.

 The class for delegated rule is “System-User-MyRules”

Done.

4. If I want to move only ONE Rule out of N number of rules available in a rule set, how to
achieve this?

A. We need to take the pzInsKey of the rule and mention in the Product rule, no need
to mention RS, Lower and higher versions.

Report Definition
1. How to get Charts enabled in Report Definition Rule. By Default it is not enable.
A. We must have at least one SUMMARY column in Select clause.

Now Summary Column

Charts not enabled.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Now, Make one column summary

Go to charts

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Click on include chart

Drag and drop country code and country name on x and y axis

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

2. How to make a report definition added into “Report Browser”.

A. We need to choose “Display in Report Browse” under “Report Viewer” tab.


B.

Launch Manager

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Click on reports

That is called report browser

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Go to all reports

Our report countries is not there in the list.

Let’s make it available.

Go to report definition in dev studio

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Report viewer tab

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Save. Done.

Launch manager portal

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


We have countries report accessible

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

3. We have a requirement to fetch data from a table, and generate and excel or PDF
document, attach to email and en email should be sent to some operator(s).
This should be a back ground task , which should happened every day 7 AM.

A. We can achieve this by using OOTB report scheduler.

Go to manager portal

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net
Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net
Email will be sent to one or more operator.

4. How to call a Report Definition from an activity


A. Activity1(WorkClass)
Call Rule-Obj-Report-Definiton.pxRetrieveReportData
Params : Class of RPT, Name of RPTD, BrowsePage to fetch results.

Done.

Report Definition
5. How to get Charts enabled in Report Definition Rule. By Default it is not enable.
B. We must have at least one SUMMARY column in Select clause.

Now Summary Column

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Charts not enabled.

Now, Make one column summary

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Go to charts

Click on include chart

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Drag and drop country code and country name on x and y axis

Done.

6. How to make a report definition added into “Report Browser”.

C. We need to choose “Display in Report Browse” under “Report Viewer” tab.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


D.

Launch Manager

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Click on reports

That is called report browser

Go to all reports

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Our report countries is not there in the list.

Let’s make it available.

Go to report definition in dev studio

Report viewer tab

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Save. Done.

Launch manager portal

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


We have countries report accessible

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

7. We have a requirement to fetch data from a table, and generate and excel or PDF
document, attach to email and en email should be sent to some operator(s).
This should be a back ground task , which should happened every day 7 AM.

B. We can achieve this by using OOTB report scheduler.

Go to manager portal

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net
Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net
Email will be sent to one or more operator.

8. How to call a Report Definition from an activity


B. Activity1(WorkClass)
Call Rule-Obj-Report-Definiton.pxRetrieveReportData
Params : Class of RPT, Name of RPTD, BrowsePage to fetch results.

Done.

Requestors
We can access any login requestor using admin studio

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


We have 4 types of requestors.

When a login request comes to PC, PRPC creates a a requestor ID.

Requestors ID, starts with either ‘H’, ‘B’, ‘A’, ‘P’.

1. H à This request is from Web Browser (Human)


2. B à This request is by Batch Processing (Agents)
3. Aà This request is from another application or listener (Web services , listeners)
4. P à Portal request.

Done.

Rest Integration
1. In case of REST, We do not create Data conversion rules like, Converting from clipboard
to JSON or JSON to Clipboard. Then, How pega internally performs this?
A.

While consuming rest service, we are not required to create Steaming and Parse rules
for JSON. These techniques are OOTB implemented and available.

This will be done by calling internal Java APIs


AdoptJSONObject() and getJSON() API calls.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


1. What are the difference between SOAP and REST

SOAP REST
It supports XML Data Structure. It supports XML Data Structure, JSON, TEXT,
HTML, etc…
Description about the service and be generated We provide End point HTTP URL, Model request
as WSDL Document, WSDL URL has to be and response.
provided to Requestors
SOAP data transformer HTTP, SMTP etc.. REST transfers only on HTTP
Heavy Weight of its Data Structure Light Weight of its Data Structure
There is no methods classification Methods classification is provided like GET,
POST, PUT and DELETE

Rule Resolution
1. What is the Difference between Available and Final?
In both cases PRPC picks the same rule and processes it.

If the availability is available , rule will be processed, also it can be copied from one rule set
to another rules.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


If the availability is Final, rule will be processed, But it CANNOT be copied from one rule set
to another rules.

2. What is Difference between Availability ‘Not Available’ and ‘Withdrawn’

If Highest version is not available, process commander pick the previous version from SAME
class.
If highest version is withdrawn, process commander ignores all version of current class and
proceeds to take from Parent class.

3. What is availability blocked.

If a rule is blocked, Process commander stops processing it permanently.

4. We have a rule there in V4, 3 and 2. V4 is available and V3 is Not available. When requesting
for this rule which version will be picked?
ANSWER : V4

5. We have a rule there in V4, 3 and 2. V4 is ‘not available’ and V3 is Withdrawn, V2 is


available. When requesting for this rule which version will be picked?
ANSWER : Parent class rule will be picked.

6. Why ‘Blocked’ is checked after the filtering, why not included at the initial stages of filtering?

Let’s take an example we have a rule R1. It is there in 01-01-01,01-01-02,01-01-03.

Where Version 03 is blocked.

Every rule has to be process, by taking from cached. Weather to process or not should be
decided after cache.

Let’s say at initial stages itself if blocked is looked up, PRPC stops Rule resolution for this
rule. Thus it will not verify the cache at. Which is violating the rule resolution cache
mechanism.

Here, Let’s say OP1 and OP2 are requesting for above Rule R1.

Consider the above situation of Blocked is being added at the beginning of algorithm.

When Op1 requests, PRPC collects all the rules and when blocked encountered, it stops
processing it.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


After Op1, Op2 requesting for the same rule, Process commander has to pick all the rules
and check the availability and blocked is there, so it stops the processing.

In both cases, if blocked is looked up at the beginning, PC un necessarily wasting time to


collect all rules from PEGA.

So for better optimization, blocked is being verified after taking from cache.
That means for the first time it collects all rule, places blocked into cache, stops processing.
Second time onwards, no need to collect all rule, just directly take blocked from cache and
stop processing. Which Is improving the performance.

Sections
Sections
1. What is the best practice of creating sections in Work class or Data Class.

Create sections in Data classes and use them into work class by using different page
reference.

 One disadvantage with this approach is, we need to make sure that the reference page
must be created on clipboard by the time sections loads.

2. How to include a flow action into section?

This is by default not possible. But we can achieve this by using an OOTB section

pxLocalAction

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net
Submit

Save.

Run the flow

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

Done.

Send Email

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


1. I want to define 10 different emails of Sender, Which I want to retrieve conditionally. How to
achieve this.
A. Define in Decision table and retrieve by using Property-Map-Decision Table Method.

2. What are the different rules to create for out bound email integration?
A. Email Account, Send Email automation shape used, Correspondence, etc…

SLA
1. What are the Time intervals defined in SLA? How the calculations happens?
A. 3 time intervals

 By default SLA times gets start calculating, the moment assignment is created.

Goal, Dead line and Passed Details.

*Goal and Deadline start calculating the SLA at same time.

* Passed Deadline starts calculating once the deadline is completed.

Example :

Goal time = 1 hour

Dead line time = 2 hours

Passed deadline time = 3 hours

Calculation: Assignment with above SLA is created at 8 AM in the morning.

Goal Breach Time = 8 +1 = 9 AM

Dead line Breach Time = 8 + 2 = 10 AM

Passed deadline = 10 AM + 3 = 1 PM.

2. What is Limit Passed deadline events?

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Now, If we give 3 then Passed deadline gets recalculated THRICE.
What is the final passed deadline Breach =
10 AM + 3 = 1 PM.
1 PM + 3 = 4 PM
4PM + 3 = 7 PM.

3. I want to run SLA only on business days?

We need to select below option at goal and deadline

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Where would you define business days.

We can define in calendar rule

Done.

Additional holidays can be defined below

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

During the off business days, SLA will get paused automatically.

4. I want to start calculating SLA with a delay after assignment is created?

This can be achieved by mentioning time delay

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


If assignment is create Tuesday 8 AM, when does SLA start calculating…

SLA starts calculating Thursday 8 AM.

Done.

This can be mentioned by using a property value.

System will compare Current Data time with above property. Both are marching then SLA
starts calculating.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Done.

5. We have a flow with 3 assignments. At each assignment I want an Sla to define below time
intervals? But I do not want you to create 3 SLA, should be achieved only by using one SLA.

three assignments

A1 à Goal Time = 3, Dead Line Time = 4

A2 àGoal Time = 5, Dead Line Time = 6

A3à Goal Time = 7, Dead Line Time = 8

This can be achieved by passing data time prop at goal and dead line time intervals instead
of hard coding.

You make suer the above properties.


pySLAGoal and pySLADealine to be initialize before this assignment gets created in the pre-
processing of flow action.

At each assignment this pre processing DTF, will set different values retrieving the values
from a Table or Decision table or Decision Tree.

Done.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


SLA Escalations
Tell about SLA Escalations:

At Goal, deadline and passed deadline we can define any of the below escalations.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Apply DTF à A DTF can be called that gets executed.

Call Flow à We can call another flow, Object moves from current assignment to another flow
assignment.

Advance Flow àIt moves from current flow action to next level.

 Run Activity : activity will be called and gets executed.


 NotifyAssigneee, NotifyManager, notifyPartyà Email notification will be sent.
 Transfer à case gets rerourted to worklist or work basket as per the options u choose.

Done.

Urgency
Urgency Means Priority of a task. Urgency value ranges from 0 to 100 where 0 is min and 100 is max.

As time intervals breaches, Urgencies gets incremented, adding current urgency value to previous
urgency values.

5 Urgencies are there

1. Default urgency
2. Initial Urgency
3. Goal
4. Deadline
5. Passed deadline urgency.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Default urgency gets assigned to OOTB property pUrgencyWorkClass in pyDefault DTF.

This is been set in pyDefaultDTf.

Done.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Lets’ say Default Urgency is 10

SLA rule form defines below.

Initial Urgency = 15

Goal time = 1 hour à Goal Urgency = 20

Deadline = 2 hours àdeadline Urgency = 35

Passed details time = 3 hours à Urgency = 60

Assignment create at 8 AM

When the case gets created , Urgency = Default Urgency = 10

When case reaches assignment of above SLA , Urgency = Default + Initial = 10 + 15 = 25 (8AM)

When Goal is breached (9AM) , Urgency = Default + Initial + Goal = 10+15+20 = 45

When Deadline is breached (10 AM) ,Uregency = Default + Initial + Goal +Deadline = 10+15+20 +35 =
80

When Passed deadline breaches (1 PM) , Urgency = Default + Initial + Goal +Deadline +Passed
deadline = 10+15+20 +35 + 60= Round to 100.

Max value of Urgency = 100.

Exceeding 100 will be rounded to 100.

Done.

8. How this Urgencies help the business users or assignees.

The tasks with highest urgency must be work on FIRST.

Let’s say an operator assigned with Two Tasks

22-July à Task1 -> Urgency = 30

23- July à Task2 à Urgency = 55

We need to work on highest urgency task.

The assignments in WL or WB gets automatically sorted by Urgency Value Descending order.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Highest Urgency on top of list and so on.

*when two tasks have same highest urgency , now, the next parameter “Age of Task”.

The one which is assigned PAST will have to completed first.

Done.

Types of SLA
9. How many types of SLA

4 types :

1. Step Level or Assignment Level.


2. Process or Flow Level (This will never be used)
3. Stage Level SLA (Not being used much)
4. Case Level (Entire Work Object).

1. Assignment Level SLA means , SLA will be called on Assignment shape and applicable
upto assignment.
2. Flow Level SLA

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


3. Stage Level SLA
Multiple flows of stage

4. Work Object level or case level.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Internal this is what defiantly assigning the OOTB property pySLANAME = “NameofSLA”
at pyDefault DTF.

Done.

Done.

10. We have a case with Case level SLA and Assignment SLA?

Assignment SLA = 4 hours


Case SLA = 2 hours.

Case SLA Overrides the Assignment SLA. Ultimately Assignment SLA also 2 hours.

Done.

5. How an SLA runs in Back ground?


A. SLA will be executed by an OOTB agent “ServiceLevelEvents” which is there in the
rule set “Pega-ProCom”.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Validate Rule
1. Is it server side or Client Side validation
A. Server Side
2. Continue Validation

By default continue validation is selected for all condition in validation rule.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


What is Continue validation check box in “Validate” Rule

A. It’s like a break point in the validation logic.


Validation stops at Break point, and proceeds to next condition only when break point
validation is success.

3. Difference Between Rule Obj Validate and Rule Edit Validate

Validate Edit Validate


We can write validation logic for multiple We can write validation logic only for one
properties. property
This is Service Side Validation This is client side validation which executes java
code using Ajax Calling.

This validation is specific to one flow action on Validation happens at all different places
which we call it. wherever we use property because validation is
applied on property.
We implement using OOTB functions We have to write Java Code

4. Rule edit has Java code, Java Code runs on server side. Then How do you say Rule-Edit
validate is client side Validation?

A. The Java code of rule edit validate gets executed by an AJAX calling from HTML or JAVA
SCRIPT of Screen. That why even though the execution happens on server side, but on
refresh of UI, AJAX calling will be done, thus we see results on client side itself.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


5. Difference Between Rule Edit Validate and Constraint

Constraint Edit Validate


Here, it’s a dependency validation, multiple We can write validation logic only for one
properties gets involved. property
This is Client Side Validation This is client side validation which executes java
code using Ajax Calling.

Validation happens at all different places Validation happens at all different places
wherever we use property. wherever we use property because validation is
applied on property.
We implement using OOTB functions We have to write Java Code
There in no need to call declare constraint, it This edit validate rule have to explicitly called
gets automatically executed wherever we use on property.
properties.

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Working with Connect-SOAP

1. What is Simulations in Connectors, Data page? OrWe want the Connector to return some
test response if in case the activities service is DOWN (404) [OR] We want to create a
connect-SOAP functionality where we know request, response prop but the service is not yet
ready from the providers, in this we do not want to wait for the service provide to provide us
WSDL URL, instead we should complete our Connector development and display some test
data. How to achieve this?

A. We can Use simulations at connector or Data page, to assign some test data to the
response page.

2. Where do you configure the End point URLS (which you pass while using connectors) of
service rules in your application.
A. We are configuring in DSS (Dynamic System Settings).

3. What are XML steam and Parse XML rules?


A. XML stream rule convers Clipboard Data to XML
Parse XML converts XML to Clipboard.

4. What are Run in parallel, Queue, run options in Connect-SOAP method.

Select to indicate the timing of execution

 Run — Execute the connector synchronously; the next step of the activity containing
the Connect-SOAP method does not execute until the connector response is
received.
 Run in Parallel — This connector is to run in parallel as a child requestor of the
current requestor. If selected, use the Connect-Wait method later in the current or a
follow-on activity to access results from the connector. Do not select this value if the
Connect SOAP rule supports compensating actions.
 Queue — Add this connector request to a queue, defined by a Connect Request
Processor data instance, for background processing by the Pega-
IntSvcsProcessConnectQueue agent. This mode works only if the Request
Processor field on the Service tab of the SOAP Service rule identifies a Data-Admin-

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


RequestProcessor-Connect data instance. When the agent executes a queued
connector request, the execution is performed with the authorization profile of the
original requestor.

5. Where would you define END POINT URL which we passing while consuming any service.

A. We are defining the URLs using DSS.


Reading the value using function @getDataSystemSetting(RS,DSSName)

Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net


Contact: 7093847699, 9063443895 manapegatrainings@gmail.com www.manapega.com www.alljobsinfo.net

You might also like