Topic Wise Interview Question and Answers in PEGA For Freshers and Experienced
Topic Wise Interview Question and Answers in PEGA For Freshers and Experienced
Wise Interview Question And Answers In PEGA For Freshers and Experienced
9th December 2015 Topic Wise Interview Question And Answers In PEGA
For Freshers and Experienced
InterView Questions On Operator and Accessgroup In PEGA
1) Operator ID instances are normally stored in the PegaRULES database as rows of the
Ans pr_operators table.
2) Y external authentication checkbox is required in operator ?
Ans It will be used for provide the access for external users(end users) to accessing the application. For example Endusers will not direct accessing to the pega application, Suppose
they want to access to the pega application through interfacing with third party tool.
3) How many access groups can be associated to an operator at once ?
Ans Only one access group at a time , but one operator will have multiple access group in their operator id instance.
4) Can u explain abt ruleset types ?
Ans We have Different types of rulesets are available in Pega
5) What is a production ruleset ? How will it be helpful ?
Ans In the production rulesets area we can provide rulesets, rules in this rulesets will be unlocked in production, the end users directly will change these rules as per requirement,
this is called rule deligation.
6) What is the default access role used by developers ?
Ans Pega rules SysAdmin4
InterView Questions On Classes and Mapping In PEGA
1) Different types of classes that PRPC support?
Ans – We have different types of Standard Classes will be avaliable which are,
@baseclass is Ultimate base class, And Its Child Classes are work, Data, Rule, Assign, History, etc.
Pega always Support 2 types of classe which are Abstract Classes And Concrete Classes
Abstract Classes are ends with ‘‘ and abstract Classes cannot create any work object instances
Concrete Classes will Does not ends with , And Abstract Classes will create Workobject instances
2) Rule Resolution ? Inheritence ?
Ans 7 steps
Ans Defer load means, suppose u can use any tabbed Section in that situation u want to load the data on each tab u can write one activity to retrieving data, then large amount of data
will be loaded in clipboard, Its an performance hit load the more data in clipboard, So in that situation we can use Defer load option it will prevent performance because while u Check
the Defer load option it will ask some activity on each tab Cell properties, so when ever the particular tab is opened then relevant activity only will be fired and load the related
data…So it will Avoid the performance
Yes we can load the values in dropdown
2) How many types of portals does PRPC can provide? Where will you specify the portals that u have created?
Ans Composite portals, Fixed portals, Custom portals, mobile portals
After creating a portal it will specified in the Access group Settings tab, then it will access to the particular user.
3) Different types of harness that u have used ?
Ans We have number of standard harness will be available in pega, but most commonly used are new, perform, review, conform, Tabbed, perform screen flow, Tree Navigation
4) If I want to restrict a user to perform on a particular flow action, how can I achieve it?
Ans we can specify the privileges or when conditions in Security tab of the flow action
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 1/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
5) How can u expose a property ? What is a linked property ?
Ans By using the modified Data base schema or optimise for reporting option
Modifying database Schemaà Select Data baseà Select Tableà View Columnsà Select Columnsà Give Database username& password and the Click Generate
Optimise reporting means right click on the property and select the optimise for reporting
1) Mention about the flow types ?
Ans Process flows, Screen flows, Subflow’s, Straight through process flows.
2) In my screen flow I have 4 assignments. When I am at 3rd assignment, I want to route it to a different user. How can it be done ?
Ans No it is not possible to route the assignment in the middle of the screen flow…Suppose if you want to route the entire Screen flow will be route to different user.. u can give the
router in Start shape of the screen flow
3) Use of entry checkbox in screen flow ?
Ans Suppose u can specify the entry point checkbox in the assignment that shape allows as a start point in the flow.. means for which assignment shapes u can check this checkbox
that assignments only display in the output, then u can use the breadcrumbs and navigate any screen.
4) Difference b/w Spin off, Split Join and Split for each ?
1) What are all the different types of scope that declare scope provide ?
Ans Node, Thread, Requestor
2) Advantages and limitations of declare page ?
Ans The main Advantage of the Declare pages is, It prevents the multiple DB hits , Suppose is there multiple requestors in that node when ever first user login into the application
then load activity will be fired and create a declare page and then loaded the data in that page, requestors who can on that node will show this declare page and use the data on that
page.
The Disadvantages are its read only to the requestors, and can not add the additional data and cannt delete the specific data.
3) Diff b/w declare page and regular pages ?
Ans Declare pages are created through declarative rules, Declare_ keyword must be specified while creating a declare page, Declare pages are readonly pages, These pages Cant delete
,update directly.
User pages are created through page new method in an activity, these pages can be updated, deleted directly, these pages automatically deleted once logout from the system.
Declarative Rules:
1) Diff types of declarative rules present?
Ans Declare Expressions, Declare Constraints, Declare On change, Declare trigger, Declare Index.
2) How do u specify if expression triggers f/w or b/w chaining ?
Ans In the Chain tracking tab.
3) How b/w chaining process works in Pega ? (Goal Seek)
Ans It will searches the first on dependency network After checking the dependency the execution Starts from Lower expression to higher expression. In Activity u can use goal
seekproperty to find the missing value of the property.
1. What type of Reporting features are provided by Pega?
A. List View and Summary View
2. What is the difference between ListView and SummaryView ?
A summary view rule defines a twolevel report display, presenting summary counts, totals or averages to be displayed initially, and allowing users to click a row to drill down to
supporting detail for that row.
Summary view rules support interactive charts, trend reports, and the use of AJAX for popup Smart Info windows.
A summary view rule is an instance of the RuleObjSummaryView rule type. This rule type is part of the Reports category.
A list view rule, an instance of the RuleObjListView rule type, defines a report. Users can personalize list view reports easily and interact with them.
Use the Report wizard to define list view reports and link them to our portal.
3. How to call a listview from an Activity?
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 2/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
In an activity, the ObjListView can execute a list view rule.
4. What is Paging in a listview?
To divide the ListView in to different pages and set the number of records to be displayed in a page.
5. What is exposing a property?
Exposing a property means to make a property as a separate independent column so that it can be used in sql queries and as a criteria in reporting.
Steps are as follows,
6. How to expose a single value property?
Process Commander stores the values of all aggregate properties and some Single Value properties in a BLOB column (the Storage Stream) usually in a compressed form. Such
properties cannot support selection in list view and summary view reports, and can slow retrieval and processing in other operations
1. Select Tools > Database > Modify Database Schema.
2. A list of databases identified in Database data instances appears. Select a database and click Next .
3. A list of tables in the selected database appears from Database Table instances. Select a table.
4. Click Explore Columns .
5. The resulting List of Classes window displays the number of rows in the table, the number of columns in the table and a list of the classes assigned to that table. The Properties Set
to Be Visible value counts the properties for which the Column Inclusion value is Required or Recommended. This Column Inclusion value is advisory, and does not indicate
whether the property is exposed — corresponds to a column. The Count column shows the total count of properties in this class plus those its parent classes.
6. To see the columns currently defined in this table, click the numeric link labeled Number of columns in this table.
7. The List of Database Columns window shows the column name, column data type, and column width in bytes for each column in the table.
7. How to expose aggregate property?
Declare Index rule is a better approach.
1. Create a concrete class derived from the Index base class.
2. Create Single Value properties in the new class to hold values of the embedded values.
3. Create a Declare Index rule with the appropriate embedded Page Context value that copies the embedded values into a new Index instance.
4. Save the Declare Index rule. It executes immediately, adding and deleting instances of the new class.
5. Expose database columns corresponding to the Index class.
6. Reference the Index properties in the list view rule.
8. Can we refer the property without exposing in Reports?
We can refer the propertys in Display tab without exposing.
But we can’t refer the property without exposing in Critera fields of the Content tab.
9. What is the activity responsible for getting the data in List View?
getContent Activity
10. What the class of getContent Activity?
EmbedListParams class.
11. Can or have you customize the getContent Activity?
Yes
12. How to customize the getContent Activity?
Step1: Create Activity in Our Class and create the New page
Step2: write a query and store in variable.
Step3: call the listview as Call RuleObjListView
Step4: Write the another activity in EmbedListParams
Step5: create the parameter. This parameter get the sql query from previous activity
Step6: write Java method The java code in this method is
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 3/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
Get the page from pyContentPage if page already exists. If page is not available it creates the new ContentPage.
In this code get the sql query from the above parameter and pass this query and above created ContentPage as parameters to this tools.getDatabase().executeRDB(query, pagename)
method.
13. How do we get the data from the two different tables?
Using Join tab in Reports
14. How do we fetch the data from two different tables with out using two different tables?
Write a database View. In this view logically combine the Two different tables.
Create class for this logically combined Table.
Write the List View. Applies to class is class of the Combined table. So we can refer the properties of both the tables in list view.
15. What is the use of HTML property in ListView?
HTML Property rules appear in list view and summary view rules to define the appearance of values in reports.
16. Consider this scenario: I need to generate a list view report of all the work objects created on a particular date and then I need to include this list view in a section. How this can be
done?
Select .pxCreateDateTime ( an exposed property ) under criteria and give the value you are looking for.
To include it in a section, check the embedded check box and customize the HTML of the section. In that we need to access the list view in a JSP tag or In section Property is
DisplayAs ListView.
17. What is the difference between List View and ObjList?
List view is generally used for complex queries where sorting is required and also we can retrieve less information using Paging.
18. Explain in brief the configuration of a list view?
List view (an instance of RuleObjListView ) is used to define a custom report or personal version of a report.
A list view can be configured as follows:
Applies to class of list view will be taken as the database table map for the search criteria.
Display fields tab is used to depict the fields that are displayed along with category and to enable/disable
sorting
Content tab is used to depict the criteria, fields to be retrieved, key of each row (if selected) and Report
source (Page name where the values should be saved and the activity to be called)
In organize tab we specify to enable/disable paging, page size, mode, alignment etc.
We can also configure additional buttons and their fragments here.
Format tab is used to depict the formatting of the list (like even/odd coloring) and details on single click etc.
List view can be accessed from an activity or html as follows:
Call RuleObjListView.ShowView activity with classname and list view name as parameters
<pega: ListView name=” {name of list view}” classname= “{Class name of list view}”>
A list view can be used for complex retrievals from database by not specifying the display, format and Organize tabl.
PyAction in that case would perform instead of refresh.
19. Explain in brief about the configuration of a summary view?
Summary views are used to create reports which are grouped by certain criteria and can be later drilled down.
A Summary view can be configured as follows:
Applies to class of summary view will be taken as the database table map for the search criteria
Category is used to know under which tab the report should come.
Criteria is used in the where class (this can be asked to user by enabling prompt user)
Group by and field functions (like count) are used for initial display. If we have more than one group by
it is Displayed one after another on clicking +
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 4/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
Drill down fields are used to display the fields when we click on the assignment.
Format is used to tell how to format the display and charts can also be used.
Summary view can be accessed from an activity or html as follows:
Call RuleObjListView.ShowView activity with classname and summary view name as parameters
<pega: SummaryView name=”{name of summary view}” classname={Class name of summary view}”>
20) Diff b/w list Objlistview results and objbrowse ?
Ans We can retrieve instances from multiple classes by using the objlistview, In objbrowse we can retrieve only Single Class Instances.
1) Diff types of log files available in PRPC?
2) Log level settings?
3) How do you track and analyse all your warnings?
Ans Application Preflight tool
1. What is an Agent?
An agent is an internal background process operating on the server that runs activities on a periodic basis.
Agents route work according to the rules in our application.
Agents also perform system tasks such as sending email notifications about assignments and outgoing correspondence, generating updated indexes for the fulltext search feature,
synchronizing caches across nodes in a multiple node system, and so on.
2. How do we create an Agent?
New à SysAdmin à Agents
Rule Set name is the Agent name
Agent is instance of RuleAgentQuiee.
3. Do we need to create Agent Schedule?
No. Agent schedules cannot be created manually.
The Agent Manager on our Process Commander system generate at least one agent schedule instance for each agents rule.
By default, the Agent Manager checks for new or updated agents rule once every ten minutes.
After we create an agents rule, the Agent Manager generates one Agent Schedule instance for each node running on your Process Commander system the next time it checks for new
agents rules.
4. Do we need to migrate Agent Schedule to other environment?
No
5. What are the Agent running time intervals?
Each agent activity runs individually on its own interval schedule, as a separate requestor thread.
Periodic — The agent runs the activity and then "sleeps" for the number of seconds entered in the Interval column.
Recurring — The agent runs the activity based on a specified calendar schedule (for example, every Monday at 5:00 P.M.).
6. What are the Agent Running modes?
Queue mode indicates whether the agent uses the agent queue capability to process items from the agent queue. This feature allows the agent to temporarily skip over items that fail
— for example, because a needed resource is locked — and try again later to process the item later.
Standard — Specifies that this agent processes items from an agent queue and that it relies on the system to provide object locking and other transactional support.
Advanced — Specifies that this agent uses custom queuing
Legacy — specifies that this is an agent that was created in a version prior to V5.4 and has not yet been updated. This option is not available for agents created in V5.4 or later.
7. What is the use of referring Access Group in Agents?
Agent activity calls another activity. This called activity may not appear in agent rule set. So setup of the Rule set list and Roles by providing Access group in security Tab.
Select the access group to use for the legacy and advanced agents listed in this rule. This field is ignored for agents with a type of Standard.
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 5/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
8. How do we Troubleshoot or Trace an Agent?
1. < env name="agent/enable" value="true" />
Verify above tag in prconfig file. Value of the above tag is true or false.
2. In Agent Schedule, schedule tab verify the check box Enable this agent is Checked or Not. And also verify the Enabled? Check box is checked or Not.
3. Same thing also check in Agents Rule.
In Tracer we can trace the particular operator or particular Agent.
In prsysmgmt portal, In Agent Management select the particular Agent and Delay the Agent and then run the
Tracer.
We can use the Agent Management link in the System Management Application to monitor and control agent
processing.
Agent runs on different nodes, select the particular node and run the Tracer.
9. What are the Agents for SLA and Correspondence?
The agents in the PegaProCom RuleSet process email, service level rules, and assignments, archive work objects, and so on.
The agents in this rule provide the following types of processing:
Processing service level events and escalation
Applying a flow action to assignments in bulk
Sending out email correspondence
Archiving and purging work objects, attachments, and history
Retrieving PDF files from the PegaDISTRIBUTION Manager
Running tests defined through the optional Automatic Testing facility
Checking incoming email
The activity SystemQueueServiceLevel.ProcessEvents supports service level processing for both assignments and work objects.
The activity DataCorr.Send supports outgoing email if your system contains one or more Email Account data instances with a second key part of Notify.
10. Who will create DataAgentQueue?
The Agent Manager is a master agent that gathers and caches the agent configuration information set for our system when Process Commander starts. Then, at a regularly scheduled
interval, it determines whether any new agents rules were created during the last period. If there are new agents rules, the Agent Manager adds them to its list of agents and generates
agent schedule data instances for them for each node.
11. What are the Standard Agents?
our system includes three standard agents rules. Because these agents rules are in locked RuleSets, we cannot modify them. To change the configuration settings for the agents listed
in these rules, update the agent schedules generated from the agents rule.
PegaIntSvcs,
Five agents in the PegaIntSvcs RuleSet process queued service and connector requests and perform maintenance for PegaDISTRIBUTION MANAGER (formerly called
Correspondence Output Server, or COS).
The agents in the PegaProCom RuleSet process email, service level rules, and assignments, archive work objects, and so on. The agents in this rule provide the following types of
processing:
Processing service level events and escalation
Applying a flow action to assignments in bulk
Sending out email correspondence
Archiving and purging work objects, attachments, and history
Retrieving PDF files from the PegaDISTRIBUTION Manager
Checking incoming email (deprecated in V5.3)
PegaRULES
The agents in the PegaRULES RuleSet perform general system housecleaning and periodic processing. The agents in this rule provide the following processing:
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 6/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
System Cleaner
System Pulse
Rule Usage Snapshot
Static Content Cleaner
System Work Indexer
12. What is the use of DataAgentQueue?
When you need to modify the behavior of an agent listed in an agents rule in a locked RuleSet (any of the standard Process Commander agents rules, for example) you do so by
editing one or more of the generated
A service level rule is an instance of the RuleObjServiceLevel type. Each service level rule defines one to three time intervals, known as goals, deadlines, and late intervals, that
indicate the expected or targeted turnaround time for the assignment, or timetoresolve for the work object.
The goal time is the smallest time interval, the deadline time is a longer interval, and the late interval defines postdeadline times. Each time interval is in days, hours, minutes, and
seconds.
2. What are the types of SLA? Where they can be defined?
Service level rules can be associated with a work object or an assignment.
For assignments, the service level rule is referenced in the Assignment Properties panel of the assignment task.
For the overall work object, the service level rule is identified in the standard property .pySLAName, typically set up through a model for the class. (The default value is the Default
service level.)
3. How do we do Escalation?
Escalation refers to any processing within a Process Commander application that causes highpriority work objects to become visible to users and managers and to be processed
sooner rather than later.
The numeric property known as urgency determines the order that assignments for that work object appear on worklists. Escalation recalculates the urgency value to reflect its age,
impending due date, or explicit management inputs.
Escalation can occur through a service level rule associated with the flow and through background processing by the PegaProCom agent.
4. What are SLA's, how are they different from Agents?
A service level rule is an instance of the RuleObjServiceLevel type. The service
level can define a goal and a deadline times for processing an assignment, and can
execute activities if the goal or the deadline is not met. This assignmentlevel service
level is distinct from any service level associated with the entire flow.
At runtime, an internal countdown clock (measuring the completion of the assignment
against the goal and deadline times computed from the service level rule) starts when the
assignment task is created.
An agent is a background internal requestor operating on the server. These requestors can
periodically monitor conditions and perform processing as necessary.
Most agents are defined by an Agent Queue rule (RuleAgentQueue), which includes a
list of the activities they perform.
5. How to implement SLA's? Is is possible to define a SLA for the entire work object? If yes, how?
SLA’s are always associated with an assignment. Just drag a SLA shape and provide an instance of RuleObjServiceLevel.
Yes, SLA can be defined for the entire workobject by defining it in the model.
The property for this is pySLAName.
6. How to restrict a flow to particular users?
By using privileges and when conditions under process tab of the flow instance.
1. What are the types of Flow Actions?
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 7/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
A flow action rule controls how users interact with work object forms to complete assignments.
Each flow action is defined by an instance of the RuleObjFlowAction rule type.
Flow actions are of two types:
Connector flow actions appear as lines on Visio presentation in the Diagram tab of a flow rule. A line exits from an assignment shape and ends at the next task in the flow. At runtime,
users choose a connector flow action, complete the assignment, and advances the work object along the connector to the next task.
A local flow action, when selected at runtime, causes the assignment to remain open and on the current user's work list. Local flow actions are recorded in the Assignment Properties
panel and are not visible on the Visio flow diagram.
A local flow action permits users at runtime to update, but not complete, an assignment. Local flow actions always are optional. Users may perform none, one, or multiple local flow
actions, or repeat a local flow action multiple times.
At runtime, users choose a connector flow action, complete the assignment, and advances the work object along the connector to the next task.
3. Explain about Pre Activity?
At runtime, the system runs this activity before it does other processing for this flow action. This activity is not visible on the Visio flow diagram. This activity executes only once,
the first time a user selects this flow action for this assignment.
4. Explain about Post Activity?
Activity to run after other successful processing of this flow action.
For screen flow rules By default, when this flow action appears as a step in a screen flow rule, and the user at runtime clicks away to a different step in the screen flow rule, this activity
rule does not run. To cause this activity to execute when the user clicks away to a different step, select the Post Action on Click Away? check box on the Assignment shape properties
panel.
5. Explain about Local Flow Action?
A local flow action permits users at runtime to update, but not complete, an assignment. Like connector flow actions, local flow actions are referenced inside an assignment task in a
flow.
At runtime, users can select local flow actions to update assignment or work object properties, change the assignee, and so on but do not complete the assignment. If a service level
rule is associated with the assignment, the service level continues to run.
Local flow actions always are optional. Users may perform none, one, or multiple local flow actions, or repeat a local flow action multiple times.
On the Action tab of the Flow Action form, we can mark a flow action rule as local, or connector, or both.
6. How do we make one Local Action available in all Assignments?
On the Design tab of the Flow form, we can list local flow actions that are to be available at every assignment in the flow.
Rule set types Are, Shared rulesets, Component Rulesets, Override rulesets, Standard rulesets
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 8/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
InterView Questions On UI and Property In PEGA
1) What is a defer load ? Is it possible to defer load the values in a drop down ?
InterView Questions On Flow and its Shapes In PEGA
InterView Questions On Declare Pages In PEGA
InterView Questions On Reports In PEGA
Interview Questions On Log In PEGA
InterView Questions On Agents In PEGA
PegaProCom,
System Indexer
Interview Questions On Service Level Agreements(SLA)
1. What is an Service Level Aggrement?
Interview Questions On Flow Actions In PEGA
2. What is the Difference between Connector Flow Action and Local Flow Action?
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 9/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
Interview Questions On Property’s In PEGA
What is the Property?
A property is an instance of the RuleObjProperty rules type.
Property defines and labels a value that can be associated with a class.
For instances contained in the database, a property often corresponds to a relational database column.
What are the Property Modes?
Explain with an example the difference between RuleEditInput and RuleEditValidate?
Edit input rules are instances of the RuleEditInput class. They are part of the Property category.
àAn Edit Input rule provides a conversion facility.
àUse Edit Input rules to convert data entered by a user (or received from an external system) from a format
that our application doesn't use into another format.
àEdit input rules perform conversions, not validations. This rule type does not cause any response to a user
about the validity of the input.
àEdit input rules use Java code for the conversion.
àWe can reference an edit input rule in the Edit Input Value field on the Property form.
Edit validate rules are instances of the RuleEditValidate class. They are part of theProperty category.
àUse the Edit Validate form to define a Java routine that tests the validity of an input value in an activity that
processes user input.
àProperties rule (of mode Single Value, Value List or Value Group) may reference an edit validate rule on the
Advanced tab.
àUse the PropertyValidate method in an activity to execute the edit validate rule when a value is submitted
through a user input form.
How RuleEditValidate is different from RuleObjValidate?
Edit Validate is to validate a single property at a time but obj validate rules are used to validate all
the properties in a single go. ObjValidate method is used for this purpose.
How one single property can be represented in different forms on a screen?
By using HTML Properties at the section level, not at the property level.
Consider this scenario : I have a property of type decimal, I need to restrict it to two decimal places only. How easily this can be done?
By using a qualifier “pyDecimal Precision” under Qualifiers tab.
How to implement dynamic select and smart prompt? What's the major difference between them?
Implementation of Dynamic Select:
In properties panel select Display As is DynamicSelect.
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 10/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
Write Activity for generating Dynamic Select.
By using ShowPage method display the data in XML format.
Dynamic Select is a drop down from which we can only select a value.
Smart prompts acts both as a text box and a drop down.
Smart prompts are implemented by using ISNS_FIELDTYPE, ISNS_CLASS, ISNS_DATANODE.
What is the difference b/w Page and Page List property, how are they Implemented?
Page property refers to a particular class and is used to access the property of that class.
Page List Property also refers to a particular class, but it’s a collection of individual pages of the same class which can be accessed through numeric indexes.
What is HTML Property?
àHTML Property rules are instances of the RuleHTMLProperty class. They are part of the Property category.
àUse HTML Property rules to control how properties appear on work object forms, correspondence, and other HTML forms, for both display and for accepting user input.
àFor properties of mode Single Value an HTML Property rule may be identified in the Display Property field
of the Property rule form.
àHTML Property rules also may appear in list view and summary view rules to define the appearance of values in reports, and in harness, section, and flow action rules that define
work object forms.
Explain about Special Properties?
Standard properties means all the properties in the PegaRULES, PegaIntSvcs, PegaWB, and PegaProCom RuleSets have names start with px, py, or pz.
These three prefixes are reserved. We cannot create new properties with such names. We can override these standard properties with a custom property of the same name (without
changing the mode or Type).
Px: Identifies properties that are special, meaning that the values cannot be input by user input on an HTML form.
Py: Properties with names that start with py are not special, meaning that values can be input by users on an HTML form.
Pz: Properties with names that start with pz support internal system processing. Users cannot directly manipulate pz properties. our application may examine these values, but do not
set them. The meaning of values may change with new product releases.
Interview Questions On VALIDATIONS In PEGA
Validation rule is used to validate the value against the some other value. Once the validation fails the system add error message to that field in clipboard.
What types of validations are there?
a. Client Side Validations
b. Server Side Validations
What are the Methods we have used for validations??
a. ObjValidatewe can referred this method in Activities and in flow actions at Validate Rule field.
b. EditValidate we can refer this in property form at editvalidate field and in activities through propertyvalidate method.
Note: I think ObjValidate is used for Server Side Validation and EditValidate is used for Client Side Validation.
How do you add custom message to the Property when it fails the Validation.
For this we have to use theProperty.addMessage(“your message”) tag.
Message is set to the property and the checked in the clipboard also , the messages got set successfully. But the message is not displayed beside the field in the screen. Why..?
If the property has a html property, the tag <pega:include name =”Messages”/> tag must be include
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 11/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
Interview Questions On Activites Or Methods In PEGA
Explain the operation of ActivityEnd method?
Use the ActivityEnd method to cause the system to End the current activity and all calling activities.
Ex:if Alpha calls Beta, which calls Gamma, which calls Delta, which performs the ActivityEnd method, all four activities are ended.
Explain about ExitActivity method?
The ExitActivity method ends the current activity and returns control to the calling activity.
Explain about PageCopy method?
PageCopy method is used to copy the contents of a source clipboard page to a new or previously created destination clipboard page. The source page is not altered.
After this method completes, the destination page contains properties copied from the source page, and can contain additional properties from a model.
Explain about PageNew method?
The PageNew method is used to create a page on the clipboard. The new page may be a toplevel page or an embedded page.
We can identify a model to initialize the newly created page. The model can set values for one or more properties.
Explain about PageRemove method?
PageRemove method is used to delete one or more pages from the clipboard. The contents of the database are not affected.
Explain about PageSetMessages method?
Use the PageSetMessages method to add a message to a clipboard page. Like a message associated with a property, a message associated with a page normally prevents the page from
being saved into the database.
Explain about PropertySetMessage?
PropertySetMessage method is used to associate a text message with a property or a step page. The system reads the appropriate property and adds the message to the page. We can
provide the entire literal text of the message, or reference a message rule key that in turn contains message text. (RuleMessage rule type).
Explain about PropertyMapDecisionTable method?
Use the PropertyMapDecisionTable method to evaluate a decision table rule and save the result as the value of a property.
Explain about PropertyMapDecisionTree method?
The PropertyMapDecisionTree method is used to evaluate a decision tree rule (RuleDeclareDecisionTree rule type) and store the result as the value of a property.
Explain about PropertyMapValue?
The PropertyMapValue method evaluates a onedimensional map value (RuleObjMapValue rule type) defined in the parameter. The method sets the result as a value for a Single
Value property.
The related method PropertyMapValuePair works similarly for twodimensional map values.
Explain about PropertyRemove method?
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 12/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
PropertyRemove method is used to delete a property or properties and its associated value from the step page or another specified page. This does not affect the property rule, its
definition.
Explain about PropertySet method?
PropertySet method is used to set the value of one or more specified properties.
Explain about ShowHTML method?
The ShowHTML method is used to cause the activity to process an HTML rule and send the resulting HTML to a user for display by Internet Explorer. This may involve the
interpretation of JSP tags (or the older directives), which can access the clipboard to obtain property values, or can insert other HTML rules, and so on.
Explain about ShowPage method?
The ShowPage method is used to send an XML representation of the step page to a user's Internet Explorer browser session, as an aid to debugging.
Note: Use ShowPage and ShowProperty only for debugging.
What is the difference between Call and Branch?
The Call instruction calls the another specified activity and execute it. When that activity completes, control returns to the calling activity.
Use the Branch instruction to find another specified activity and branch to it without a return.
When the system executes a Branch step, control transfers to another activity found through rule resolution. Execution of the original activity pauses.
When the branched activity ends, processing of the current activity also ends.
No steps after the Branch step are executed.
OBJ Methods:
At runtime, five methods (ObjBrowse, ObjFilter, ObjList, ObjListView, and RDBList), list view rules, and summary view rules use a page of the class CodePegaList
CodePegaList class as a source of search criteria and to hold output. Typically, such pages are named Results, pyQueryResultPage, or pyViewLookupList. Search results (which
support rows of report output) are stored as pages in the pxResults() property, a Page List.
CodePegaList is a concrete class, pages of this class exist only on the clipboard. They are never saved to the PegaRULES database.
Explain about ObjList Method?
ObjList method is used to retrieve data to the clipboard as an array of embedded pages.
This method creates one embedded page for each instance retrieved.
The ObjListView method often produce more efficient SQL statements and provide better performance than the ObjList method.
Explain about ObjBrowse method?
ObjBrowse method is used to search instances of one class and copy the entire instances, or specified properties, to the clipboard as an array of embedded pages.
Only properties exposed as columns can be used as selection criteria. However, values of properties that are not exposed as columns, including embedded properties, can be returned.
Explain about ObjListView method?
ObjListView method is used to execute the retrieval and sorting operations, but not the formatting and display processing, of a list view rule.
The system uses rule resolution to find the list view rule and executes it, but does not produce any HTML output display.
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 13/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
Explain about ObjOpen method?
ObjOpen method is used to open an instance stored in the PegaRULES database or in an external database linked to an external class, and save it as a clipboard page.
The system uses the specified class and key fields to find and open the object and place its data into the specified step page. The system searches up the class hierarchy as appropriate
to find the instance. If it finds the specified step page, the system clears any data that is on it and reuses the page. If no existing page has a name matching the specified step page, the
system creates a new page.
Explain about ObjOpenByHandle method?
Use the ObjOpenByHandle method only if we can determine the unique handle that permanently identifies which instance to open. Otherwise, use the ObjOpen method.
Explain about ObjDelete method?
ObjDelete method is used to delete a database instance corresponding to a clipboard page and optionally to delete the clipboard page too. We can cause the deletion to occur
immediately, or until execution of a Commit method.
This method can operate on objects of both internal classes (corresponding to rows in a table in the PegaRULES database) and external classes (corresponding to rows in an external
relational database).
The ObjDelete method uses the class of the page to obtain the appropriate RuleObjClass instance. It uses the table name, key fields, and other aspects of the class rule to mark the
instance for deletion.
We can reverse or cancel a previously executed ObjDelete method by using the ObjSaveCancel method.
Explain about ObjSave method?
à ObjSave method is used to save a clipboard page to the PegaRULES database or if the page belongs to an external class save a clipboard page to an external database.
àThe ObjSave method uses properties on the page to derive the internal key under which it will be saved.
àThis method can create a new database instance or overwrite a previous instance with that key.
àWe cannot save a page that is locked by another requestor.
àWe cannot save a page that our session does not hold a lock on (if the page belongs to a lockable class),
unless the object is new, never yet saved.
àWe cannot save pages of any class derived from the Code base class or the Embed base class. Such pages
exist only on the clipboard.
Explain about Commit method?
Commit method is used to commit all uncommitted database changes. This method writes all the instances specified by one or more earlier ObjSave methods to the PegaRULES
database (for internal classes) and to external databases (for external classes).
Explain about ObjValidate method?
ObjValidate method is used to apply a validate rule (RuleObjValidate rule type) for the object identified on the primary page or step page.
A validate rule (RuleObjValidate rule type) can call edit validate rules (RuleEditValidate rule type).
Explain about ObjSort method?
ObjSort method is used to sort the clipboard pages that are the values of a property of mode Page List.
We can specify one or more properties to sort on, and whether the sort sequence is ascending or descending for each sort level.
Interview Questions On RDB Methods In PEGA
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 14/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
Use Connect SQL rules and RDB methods only with an external database. Do not use Connect SQL rules or RDB methods for the PegaRULES database(s). Because not all properties
in the PegaRULES databases are distinct database columns, use the ObjOpen and ObjSave methods, not the RDB methods, with the PegaRULES database to prevent loss of data.
Explain about RDBList method?
RDBList method is used to retrieve rows from an external relational database and place the results as embedded pages in a specified step page of classCodePegaList.
This method references a Connect SQL rule instance, and executes SQL statements stored in the Browse tab of that rule instance. The search can do anything we can specify in a SQL
statement, such as a SELECT WHEREstatement. Any constraints on the returned data are in the SQL.
Explain about RDBOpen method?
RDBOpen method is used to retrieve a single row (record) of data from an external relational database and add the retrieved data into a specified clipboard page as property names
and values.
Use this method in conjunction with a Connect SQL rule that contains SQLSELECT or EXECUTE statements in the Open tab. Define the SQL statements so that the database returns
exactly one row.
Explain about RDBSave method?
RDBSave method is used to save the contents of a clipboard page into a row of a relational database. The system saves the properties on the specified step page to the specified table
in the database.
This method operates in conjunction with a Connect SQL rule that contains SQL statements such as INSERT, UPDATE, and CREATE statements on the Save tab.
Explain about RDBDelete method?
RDBDelete method is used to delete a row or rows from an external relational database using SQL.
This method operates in conjunction with an SQL statement in the Delete tab of a Connect SQL rule (RuleConnectSQL rule type) that contains the DELETE, TRUNCATEor DROP SQL
statement.
Interview Questions On Circumstance In PEGA
What is Circumstance? How it works?
A circumstance is an optional qualification available for all rules. Using a circumstance allows our application to support multiple variants of a rule. For example, variations of an
ordinary rule instance can be created for different customer status levels or for different geographic locations.
A circumstancequalified rule instance (often referred to as a "circumstanced rule") is always based upon an unqualified rule instance (base rule).
We can circumstance a base rule with a single property and its value, or with multiple properties and their values (called multivariate circumstancing).
The circumstanced rule is executed during rule resolution if the value of the circumstance property on the rule matches that property's value on the clipboard at runtime.
How do we create the circumstancequalified rule?
To create a circumstancequalified rule, first define an unqualified or base rule instance (with the Circumstance values left blank).
Then use the toolbar Save As button to create a second rule qualified by a circumstance.
If the original rule has an Applies To class as an initial key part, the circumstancequalified rule must have the same Applies To class or a subclass derived from that class.
Explain about single circumstance and multivariate circumstancing?
If we use a single circumstance property, we define the property name and its value directly in the Save As form.
If we use multivariate circumstancing, two rules in the Save As form:
Circumstance Templates (RuleCircumstanceTemplate rule type)
Circumstance Definitions (RuleCircumstanceDefinition rule type)
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 15/16
4/24/2016 Topic Wise Interview Question And Answers In PEGA For Freshers and Experienced
Explain about circumstance template rule?
Circumstance template rule is used to identify properties for multivariate circumstanced rules.
Explain about Circumstance definition rules?
Circumstance definition rules contain a table of values for the properties in circumstance template rules.
Posted 9th December 2015 by sai krishna
0 Add a comment
Enter your comment...
Publish Preview Notify me
http://sai407.blogspot.in/2015/12/topicwiseinterviewquestionand.html 16/16