Interview Questions
Interview Questions
4. In Routing activity what is the default property used to route the object
pxRouteTo=Param.AssignTo =” workbasket name” for work basket .s
The system adds entries it finds from the following sources in the order
listed. The system adds entries it finds from these sources at the top of the list,
7. What do you mean by Locking in the context of Pega? What are the different types
of locking? Explain them.
When two or more actions try to update a case at the same time, the most
recent action may overwrite data written by the prior action. Overwrites can cause
data corruption or loss, causing delays in case processing and possibly resulting
in an inaccurate case resolution. If an application supports several users at the
same time, a case locking strategy is critical for data integrity.
In Locking, we configure an appropriate locking technique for each case type to
avoid data corruption or loss due to overwrites. Pessimistic locking and optimistic
locking are two solutions that Pega Platform enables to balance the need for user
access with the necessity for data security.
Pessimistic Locking:
When an application uses a pessimistic locking approach to open an object, it
uses an exclusive lock. When a person or a system opens an object, they have
exclusive
access to it until the application unlocks it. Other users are unable to edit the
item while it is locked.
For example, an underwriter examines an open life insurance claim to determine the
amount of benefit that a claimant is entitled to. As the underwriter collects
evidence and
updates the case, a complex claim may necessitate extensive computations and
referrals to third parties,
and any additional modifications may override claim values and generate an
inaccurate payout to the claimant. Apply a pessimistic locking approach in this
situation to prevent
other users from overwriting data when the underwriter updates the claim and
changes the payout amount.
Optimistic Locking:
When an application uses an optimistic locking approach, it does not use an
exclusive lock when opening an object. Instead, the item can be opened and edited
at any moment by any user or the system itself. Before making any modifications to
the item, the program checks to see if it has changed.
A manager, for example, may need to evaluate the most recent data for a given
service request instance. A case worker may need to update the case at the same
time as
the manager does not need to update any information. Apply an optimistic locking
approach in this situation to prevent the manager from locking the case and
preventing a
case worker from completing an assignment that would push the case toward
resolution.
Split Join Shape:This shape causes work item processing to divide into two or more
distinct flow executions that run asynchronously and then rejoin later at runtime.
At the business process level, this capability allows for multitasking or parallel
work processing. While one department or business unit performs its functions for
the work
item at its own pace and according to its own flow, another department works on the
same work item. Similarly, if the split creates six subflows, each of them could be
assigned
to and worked on by six separate users who are all working on their assignments at
the same time.
10. Which are the different types of assignments, and where are they stored in the
Pega database?
There are fundamentally two types of assignments - the Work-List assignment
and the Work-Basket assignment. These assignments are stored in individual
worklists in Pega.
-The pc_assign_worklist stores work-list assignments
-The w pc_assign_workbasket stores work-basket assignments