0% found this document useful (0 votes)
23 views

QA-4

The document outlines an individual's experience and expertise in Pega, detailing various tasks such as developing user interface rules, implementing validation rules, and optimizing properties. It also includes answers to technical questions regarding Pega concepts like locking types, requestor types, and methods for data manipulation. Additionally, it discusses the importance of agents, data pages, and the deployment process in Pega environments.
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)
23 views

QA-4

The document outlines an individual's experience and expertise in Pega, detailing various tasks such as developing user interface rules, implementing validation rules, and optimizing properties. It also includes answers to technical questions regarding Pega concepts like locking types, requestor types, and methods for data manipulation. Additionally, it discusses the importance of agents, data pages, and the deployment process in Pega environments.
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/ 6

Tell me about yourself:

Hi This is xxxxxxx, I have x years and x months of experience in Pega. As part of my pega experience I
have worked on different PRPC rules.

● Developed user interface rules like harness, sections and flow actions and configured in flow
rule.

● Implemented Validation rules for the user form to validate data and format.

● I have involved in the development of business logic in terms of activities and data pages
and decision rules.

● Worked on property optimization for single value property and created declare index to
expose embedded properties like pagelist.

● Involved in the development of Job schedulers and Queue processors for the Batch job
requirements.

● Experience in developing connect REST and service REST.

● Involved in the bug triaging and fixing.

● Good experience in debugging the issues using tracer, clip board and analysing pega logs.

● I had experience in creating product files in Dev environment and deploying the same into
QA and UAT regions.

1. What is Locking in Pega and describe it types?


Ans: Locking is taking control on a case or record to perform save or update. It ensures a single
user can perform update at a time.
Default Locking: Only one user can work on work object at a time.
Optimistic Locking: multiple operators work on same object at a time but whoever do save first
that updated get saved in DB rest other uses can see notification message on the screen.

2. How many requestor types are there and what are they?

Ans:
Application, Batch, Browser, Portal.

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

Ans:

Obj-Open : we will get one record from the table based on the criteria defined in field

OBJ-open-handle: here we have to pass the pzInskey as an instance handle, this method will
open only one record at time.
4. How can we call decision table and tree from data transform?
Ans: we can use ObtainValuesFromDecisionTable function for decision table.
ObtainValuesFromDecisionTree function for decision tree.
5. What is forward chaining and backward chaining in pega?
Ans: Forward Chaining: when ever source properties changes target property will recalculate
this is called forward chaining.
Backward chaining: whenever target property refered, all the source properties get called
and computed expression.
6. What is the use of Obj-Refresh-and –Lock method?

Ans: this method checks the data on the step page and data in the data base table, which data is
latest one that will keep on the page.

7. What is parameter variable and local variable?

Ans: parameter variable is a global variable we can use that in the executing activity or any other
rules calling in activity.
Local variables are defined in activity and those available to that activity only. Outside of that
activity we can use those.
8. How to send mail notification to workparties?
Ans: we have SendNotification or SendSimpleMail OOTB activities to send mails. These
activities need parameters like FROM, Submit, To. Here in To we user workparty mailID.
9. Scenario: we have some cases in DB, normal cases will be in one list and priority cases are in
another list. Question is, when update Priority on my case that case need to move to Priority
list. How can we do?
Ans: we can use declare onchange rule for this. We will configure this and will provide logic
as when priority field changes it will execute an activity, in that activity will provide logic to
save the case data in Priority list.
10. What are the OOTB routing acitivies?
Ans: to route case to worklist we use ToWorkList activity, for workbasket we use
ToWorkBasket activity.
11. We have 1 million records in CaseDate table, those all are having data that need to update
to case. How can we do?

Ans: for this we need to create a standard agent then provide the logic to read the records from
the table. As each record have case ID I will open the same case from work table and update the
data to case then will save the case to work table. To remember the processed record, we will
update the flag in CaseDate table.

12. What is the difference between spin off and split join?

Ans: spinOff: when ever the flow reached spinoff shape, it will execute flow configured in
subflow shape, main flow should not wait until the subflow completes, mainflow also process
assignments with out waiting. This is called asynchronous processing
Split Join: split join will wait until the sub flow get completes, once completes then it resume the
main flow.
13. I have scenario, I have assigned one assignment to User A and that need to complete by end
of today? If he not complete that then it should send mail to user and his manager. How can
we do this?
Ans: as it is assignment performing, we will configure SLA at assignment and will provide goal
time as end of today business hours. I will also configure escalation activity at goal. If the user
not complete the assignment it execute the escalation activity where I will configure
“SenSimpleMail” OOTB activity.
14. What is Work list, Work basket?
Ans:
Work list is an outstanding assignment waiting for a user to perform them. A work basket is an
instance of Data-Admin-Workbasket class. Work objects progress through a flow execution, the
system creates assignments. Assignment may be created either with an individual user or work
basket. Work List related assignments are stored in pc_assign work list. Work basket related
assignments are stored in pc_assign_workbasket.
15. What are Local Variable and Parameter Variable?
Answer:
Local Variable – It is strictly particular to one activity/Data transform and it cannot be taken forward.
Parameter Variable – It associate the value of a property and we can pass the parameter value to
calling rule and utilise it.

16. How to remove data page?


Ans: A data page with a Node scope is removed when the Pega Platform is shut down for that node
or when the rule is deleted.
A data page with a Thread scope is removed when the requestor of that Thread logs out.
Data pages with a specific name are removed when you save a data page rule form that has a key
( Page Name field) with a matching name.

17. Tell me the steps to create connect Rest?


Ans: 1. We will run Create REST integration wizard. Where will provide name and endpoint
URL of the REST integration and click next.
2. in next scree will ask for which method we required. We need to choose from GET,
POST,PUT,DELETE.
3. then it will ask for data model, meansrequest and response JSON ot text file.
4. in final screen it will display integration class and ruleset, data class and Data page also.
Overall, in rest integration, system will create request and response

18. How to maintain end point URLs for different environments?


Ans: we will use AppExtensions data page where we maintain all endpoint URL which are specific to
each environment. So this data page will available on each environment with endpoint URLs that are
specific to that environment.

19. I have an activity A in frame work class and activity B in implementation class, I want to
execute activity B from activity A. How can we do this?
Ans: in this scenario, Activity A is in Framwork class so the rules in implementation class will not be
accessable by framework class so we will get compile errors while doing.
To avoid errors, we can use dynamic class referencing concept, we will create a node level data page
called D_AppExtention and will keep all class names in that so when ever required we will use that.

20. Do we need to create Agent Schedule?


No. Agent schedules cannot be created manually.
The Agent Manager on our Process Commander systemgenerate at least one agent schedule
instance for each agentsrule.
By default, the Agent Manager checks for new or updatedagents rule once every ten minutes.
After we create an agents rule, the Agent Manager generatesone Agent Schedule instance for each
node running on yourProcess Commander system the next time it checks for newagents rules.

21. What is the importance of access group in advanced agent?

Ans: as agent execution is back ground process, it not know which rules that need to pick while
running the agent so we will provide access group there so it will check the application
configured to that access group and execute the rules which are coved in application stack

22. What is Activity and Methods?

Ans: Activity is a rule which is used to implements business logic. It can be created under
Technical Category., Activity is instance Class is RuleObj-Activity. Method: - Method is something
which is already having predefined business logic written in Java Code. PRPC provides many
different methods, those can be accessed under Method Dropdown in an activity rule. Obj-
Browse: - This method is used to fetch multiple instances from a table. Data Structure is Page List
and Data is Read only.

Obj-Open: - This methods can be used to fetch single Record from tables on Class Key. Obj-open-
By-Handle: - This method is used to fetch single Record from tables on Primary Key (pzInsKey).
Obj-Save: - This method can be used to insert or update an instance into Tables. Obj-Delete: - To
delete instances from table.

Obj-Delete-By-Handle: To delete based on Primary Key (pzInsKey).

Commit method: commits the entire differ queue items respective table or tables. Commit
method releases lock

Write Now: It is an immediate commit operator which is being done only on one table. This
option in obj-save cannot release the lock.

Rollback method erases or rolls back entire differ queue items means all the obj-saves done in a
thread. The roll back will not have any impact after the commit is executed.

Obj-save-cancel: erases or rolls back only the latest un committed obj-save.

This method will not have any impact after the commit is executed

23. Difference between Obj-method and RDB methods in activity?

Obj - methods will help developer to use the inbuilt functionality to configure the logic.

these methods will be internally converted into the SQL query in the background.

RDB methods - will help developer to write/create SQL query manually. used only in terrms of
complex requirement.if any requirement is not implemented using Obj-methods then we can
use RDB method

24. How to deploy a code from one environment to other environment?


Ans: By using a Product rule, We have to create a product rule and there we have to maintain
ruleset details and if there are any data instances like the rules which are not associated with
ruleset version all we can call it data instances in pega like Accessgroup, operator ID,workbasket.

25. Explain about Data Pages and scopes?

Data page is a shared / cached page on server’s clipboard. We user data pages when the data is
common data and constant data which is frequently been accessed in the application.

D-pages

Modes Read only, Editable Modes

Scopes

● Thread: A thread scope of data page is accessible for sharing with in a single WO multiple
times.

● Requestor: This scope of data page is accessible for sharing with in a single requestor session
among multiple WO’s but not with other requestors.

● Node: This scope of data page is accessible among multiple requestors who logon to same
node but not with requestors of other node.

Real life example:

When an insurance agent login to insurance application, every time when he creates a policy
that should be created under some branch of insurance company. Where we have multiple
branches to be loaded and the list of branches are same for all insurance agents who access the
application. In this case we can use node Data page to load the branches and that is accessible to
all insurance agents when they login. So that they can choose one

26. Can we call data transform in activity in PEGA?

we can make use of Apply-DataTransform method to call data transform from


activity.

27. Difference between append and append-map-to?


Append is used to add an empty page to the page list property. Append and Mapto
method is used to add data to a page and then add the page to the page list.

28.Why are activities not recommended in Pega?


Activities are harder to maintain and not as easy to construct as other rules in Pega.
We should not use an activity for calculations or property validations that we can
implement as constraints rules or Declare Expression rules
29. Which is the Rule Availability in Pega?

Available: It is ready to run at the time of rule execution.


Not Available: It is not available during run time.
Blocked: It restricts the rule resolution to not execute the rule at run time, by returning a
‘Rule Not Found’ exception as well as throwing and getting an error.
Final: this functionality to indicate that the rule cannot be modified further, however, it can
be changed in the same ruleset higher version.
Withdrawn: It withdraws a rule from its current version and its all lower versions, however,
if the same rule is present at different Ruleset versions will be executed at run time.
30. What is an Agent?
An agent is an internal background process operating on the server that runs activities on a
periodic basis.
Agent’s route work according to the rules in our application.
Agents also perform system tasks such as sending e-mail notifications about assignments
and outgoing correspondence, generating updated indexes for the full-text search feature,
synchronizing caches across nodes in a multiple node system, and so on.

You might also like