Вы находитесь на странице: 1из 5

Pega Training –Wats app +91 8019256326

Types of LOCKING In Pega.


Pega 7 provides two case locking options and capabilities. You make your basic configurations in the
Case Designer at the top-level case type.
Default locking – When a case is opened in a Perform harness, it and its parent case are locked. Only one
user can view and update the case at a time. You can override the default behavior at the each subcase
type level.
Optimistic locking – Multiple users can open a case in a Perform harness at the same time to review or
update it. The first user to submit an update "wins;" users who had updated the form but had not
submitted changes must refresh the form, re-enter their updates, then submit them

How to call a parametrised Data Page ?


D_PageName[Param1:value,param2:value]

How to dynamically pass an activity name and call that in another activity?

Use the function "callActivity" pass activity name as parameter to that function.

What is Forward Chaining and Backward Chaining in Pega?


Forward chaining: ex:area=length* breath whenever length or breath value changes area is auto
calculated.
Backward Chaining: area=length* breath this will not calculate area when length or breadth changes but
when area is referred anywhere then it calculates l*b.

Explain exception handling is Connect Soap?

In connect sopa rule under service tab we can configure exception property,Error handler flow,Status
message property ,Status value property.
These values get populated only if u hit service and some error occurs .
Now what if service is down?
Under faults tab of service rule we can configure 2 properties like error code and error message. and In
connector activity in the transition of the CONNECT-SOAP step, give a Jump condition if the step fails
jump to ERR or some label. Also give label in transition "On exception, jump to later step label".
This is needed because the SOAP connector Invoke activity throws an exception if a SOAP fault message
is returned by the SOAP service provider
If the control reaches the error step, parse the faults error message and error code properties and this
gives the exception details.

Difference between split for each split join and spin off?

Pega Training –Wats app +91 8019256326


Pega Training –Wats app +91 8019256326

Split Join-A flow splits into 1 or more flows and will resume based on all child completeion and Any 1
child completion options.
Split for each-Iterate on a page list and call a flow for every result in Page list or Page goup.
Spin off-we can a flow executing in foreground and another in Background

Difference between covers and Folders?

Cover cannot be nested, folders can be nested (folders can consist of folder, cover, work-object)

Cover can only consist of work object in single classgroup, but folder can consist of work object present
in single or multiple classgroup

When all covered workobjects is resolved, cover would be resolved. But folder never waits for all work
object within it to be resolved.

A workobject can be present in only one cover at a time, but it can be present in multiple folders at
particular point of time

What are the types of Declarative rules in pega / how many types of declarative rules in pega /
declarative rules in pega interview question : Declarative processing simplifies your application and
reduces the number of activities you must create. The declarative processing support

Six Declarative rules types in pega :

• Rule-Declare-Constraints

• Rule-Declare-Expressions

• Rule-Declare-Index

• Rule-Declare-OnChange

• Rule-Declare-Index

• Rule-Declare-Pages

How to trace a java step and its iterations etc in Pega tracer?

Open the tracer add Event "Debug". Enable it. Then trace you can see java steps in tracers.

Output you want to see in tracer whould be wriiten in java as below

pega_rules_utilities.sendDebugMessageToTracer("Custom Message here","Pega-ProCom");

Pega Training –Wats app +91 8019256326


Pega Training –Wats app +91 8019256326

What is the difference between Page-Validate and Property-Validate methods?

Page-Validate method is used to validate all the properties present on a page. If a page has embedded
pages, this method works recursively to validate all the properties. This method consumes lot of system
resources and takes more time. If you want to validate specific properties use Obj-Validate method with
Rule-Obj-Validate rule.

Property-Validate method is used to impose restrictions on a property value. Use Edit validate rule along
with Property-Validate method to impose restrictions.

What is difference between Edit validate and Edit Input rules?

Edit Validate: Use edit validate rule to validate the property value using java code. Edit validate rules can
be used property-validate, Rule-Obj-Validate and Property rules.

Edit Input: Edit input rules converts user entered data into required format. For example is the user
enters date MM/DD/YYYY format, edit input rule coverts this date into DD-MMM-YYYY (required
format). Again we need to write java code for this transformation.

How to flush data page in activity?

Call Pega OOTB activity pzFlushDataPage and pass data page name as input to it.

Where assignments will be stored in pega rules database?

Work List related assignments are stored in pc_assign_worklist.

Work basket related assignments are stored in pc_assign_workbasket

Where work objects will be stored?

Work Objects are stored in pc_work table by default. However if you want to store the work objects in a
user created table, follow the below mentioned steps.Create a schema similar to pc_work table. (The
best thing is to copy the pc_work schema and modify the table name and constraints name if
any).Change the class group mapping (Data-Admin-DB-Table) to the newly created table

Explain about Branching in Pega?

When multiple teams are working in the same application rulesets, coordinating changes across teams is
a challenge. When development teams configure an application in parallel, rule changes might result in

Pega Training –Wats app +91 8019256326


Pega Training –Wats app +91 8019256326

conflicts. Resolving conflicts disrupts the overall project and may delay time to delivery.Branch rulesets
allow each team to work within an isolated space (the branch) without affecting functionality other
teams are developing. They are especially useful on large development projects, where multiple teams
work simultaneously on the rules in an application. Each team works on their changes independently. All
members of a team can see each other's work, while isolating the development changes from other
teams. Changes do not affect other teams until the changes are stable, conflicts are resolved, and
approval is granted to make the changes available to all development teams.

If I have 3 different work objects in my application, how to store them in three different tables?

Open/Create the Data-Admin-DB-Table instance for each class and mention the table name. By doing
this the individual work objects will be stored in the new table you mentioned in the Data-Admin-DB-
Table instance. This is a best practice if there too many object instances for each class.

What is StepStatusGood, StepStatusFail rules?

StepStatusGood is a when condition defined in @baseclass, this when rule checks whether the value of
pxMethodStatus property is “Good”.StepStatusFail is a when condition defined in @baseclass, this when
rule checks whether the value of pxMethodStatus property is “Fail”.

How to make any rule as a favorite to your manager?

Delegate the rule to manager.

Where can i see the paramater values in the clipboard ( values ..) i am passing one activity to other

Can be seen in tracer by clicking on parameter page

How to import rules using pzinskey

Open the rule, click on action->View xml->Take pzinskey copy it in product rule

Difference between an activity and a utility?

Activity is a sequence of steps used for data processing.

Utility is a activity used for one time purpose to update work objects in Production.

Inheritance concept in the Pega (rules, class)

Two types of class inheritance — directed inheritance and pattern inheritances

Directed Inheritance-Manually specify a class as parent

Pega Training –Wats app +91 8019256326


Pega Training –Wats app +91 8019256326

Pattern-Naming pattern indicates parent classes.

Pega Training –Wats app +91 8019256326

Вам также может понравиться