PEGA Interview Qa
PEGA Interview Qa
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.
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?
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
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
• 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.
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.
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.
Call Pega OOTB activity pzFlushDataPage and pass data page name as input to it.
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
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
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.
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”.
Where can i see the paramater values in the clipboard ( values ..) i am passing one activity to other
Open the rule, click on action->View xml->Take pzinskey copy it in product rule
Utility is a activity used for one time purpose to update work objects in Production.