pega interview questions and answers for experienced
pega interview questions and answers for experienced Pega Real Time Interview Questions and Answers pega interview questions java pega interview questions for Capgemini pegasystems aptitude questions tcs pega interview questions pega scenario based questions pega real time interview questions pega interview questions on integration pega interview questions for 2 years experience
- 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 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.2. How do we create an Agent?
New à SysAdmin à Agents
Rule Set name is the Agent name
Agent is instance of Rule-Agent-Quiee.
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?
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.
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
We can use the Agent Management link in the System Management Application to monitor and control agent
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 Pega-ProCom RuleSet process e-mail, 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 e-mail 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 e-mail
The activity System-Queue-ServiceLevel.ProcessEvents supports service level processing for both assignments and work objects.
The activity Data-Corr-.Send supports outgoing e-mail if your system contains one or more Email Account data instances with a second key part of Notify.
10. Who will create Data-Agent-Queue?
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.
Five agents in the Pega-IntSvcs RuleSet process queued service and connector requests and perform maintenance for PegaDISTRIBUTION MANAGER (formerly called Correspondence Output Server, or COS).
The agents in the Pega-ProCom RuleSet process e-mail, 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 e-mail correspondence
Archiving and purging work objects, attachments, and history
Retrieving PDF files from the PegaDISTRIBUTION Manager
Checking incoming e-mail (deprecated in V5.3)
The agents in the Pega-RULES RuleSet perform general system housecleaning and periodic processing. The agents in this rule provide the following processing:
Rule Usage Snapshot
Static Content Cleaner
System Work Indexer
12. What is the use of Data-Agent-Queue?
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 Rule-Obj-ServiceLevel 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 time-to-resolve for the work object.
The goal time is the smallest time interval, the deadline time is a longer interval, and the late interval defines post-deadline 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 high-priority 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 Pega-ProCom agent.
4. What are SLA’s, how are they different from Agents?
A service level rule is an instance of the Rule-Obj-ServiceLevel 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 assignment-level 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 (Rule-Agent-Queue), 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 Rule-Obj-ServiceLevel.
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?
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 Rule-Obj-FlowAction 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.
|Single||Array or List||Group|
|Value modes||Single Value||Value List||Value Group|
|Page modes||Page||Page List||Page Group|
|Java Object mode||Java Object||Java Object List
|Java Object Group|
|Java Property modes||Java Property||Java Property List|
Rule set types Are, Shared rulesets, Component Rulesets, Override rulesets, Standard rulesets
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
Interview Questions On Service Level Agreements(SLA)
- What is an Service Level Aggrement?
Interview Questions On Flow Actions In PEGA
- What is the Difference between Connector Flow Action and Local Flow Action?
Interview Questions On Property’s In PEGA
- What is the Property?
A property is an instance of the Rule-Obj-Property 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 Rule-Edit-Input and Rule-Edit-Validate?
Edit input rules are instances of the Rule-Edit-Input 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 Rule-Edit-Validate 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
use the Property-Validate method in an activity to execute the edit validate rule when a value is submitted
through a user input form.
- How Rule-Edit-Validate is different from Rule-Obj-Validate?
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. Obj-Validate 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.
Write Activity for generating Dynamic Select.
By using Show-Page 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 Rule-HTML-Property 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 Pega-RULES, Pega-IntSvcs, Pega-WB, and Pega-ProCom 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?
- Client Side Validations
- Server Side Validation
- What are the Methods we have used for validations??
- Obj-Validate–we can referred this method in Activities and in flow actions at Validate Rule field.
- Edit-Validate—- we can refer this in property form at edit-validate field and in activities through property-validate method.
Note: I think Obj-Validate is used for Server Side Validation and Edit-Validate 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
Interview Questions On Activites Or Methods In PEGA
- Explain the operation of Activity-End method?
Use the Activity-End 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 Activity-End method, all four activities are ended.
- Explain about Exit-Activity method?
The Exit-Activity method ends the current activity and returns control to the calling activity.
- Explain about Page-Copy method?
Page-Copy 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 Page-New method?
The Page-New method is used to create a page on the clipboard. The new page may be a top-level 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 Page-Remove method?
Page-Remove method is used to delete one or more pages from the clipboard. The contents of the database are not affected.
- Explain about Page-Set-Messages method?
Use the Page-Set-Messages 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 Property-Set-Message?
Property-Set-Message 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. (Rule-Message rule type).
- Explain about Property-Map-DecisionTable method?
Use the Property-Map-DecisionTable method to evaluate a decision table rule and save the result as the value of a property.
- Explain about Property-Map-DecisionTree method?
The Property-Map-DecisionTree method is used to evaluate a decision tree rule (Rule-Declare-DecisionTree rule type) and store the result as the value of a property.
- Explain about Property-Map-Value?
The Property-Map-Value method evaluates a one-dimensional map value (Rule-Obj-MapValue rule type) defined in the parameter. The method sets the result as a value for a Single Value property.
The related method Property-Map-ValuePair works similarly for two-dimensional map values
- Explain about Property-Remove method?
Property-Remove 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 Property-Set method?
Property-Set method is used to set the value of one or more specified properties.
- Explain about Show-HTML method?
The Show-HTML 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 Show-Page method?
The Show-Page 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 Show-Page and Show-Property 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.
At runtime, five methods (Obj-Browse, Obj-Filter, Obj-List, Obj-List-View, and RDB-List), list view rules, and summary view rules use a page of the class Code-Pega-List
Code-Pega-List 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.
Code-Pega-List is a concrete class, pages of this class exist only on the clipboard. They are never saved to the PegaRULES database.
- Explain about Obj-List Method?
Obj-List 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 Obj-List-View method often produces more efficient SQL statements and provide better performance than the Obj-List method.
- Explain about Obj-Browse method?
Obj-Browse 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 Obj-List-View method?
Obj-List-View 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.
- Explain about Obj-Open method?
Obj-Open 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 Obj-Open-By-Handle method?
Use the Obj-Open-By-Handle method only if we can determine the unique handle that permanently identifies which instance to open. Otherwise, use the Obj-Open method.
22 Explain about Obj-Delete method?
Obj-Delete 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 Obj-Delete method uses the class of the page to obtain the appropriate Rule-Obj-Class 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 Obj-Delete method by using the Obj-Save-Cancel method.
- Explain about Obj-Save method?
an Obj-Save 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 Obj-Save 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 Obj-Save methods to the PegaRULES database (for internal classes) and to external databases (for external classes).
- Explain about Obj-Validate method?
Obj-Validate method is used to apply a validate rule (Rule-Obj-Validate rule type) for the object identified on the primary page or step page.
A validate rule (Rule-Obj-Validate rule type) can call edit validate rules (Rule-Edit-Validate rule type).
- Explain about Obj-Sort method?
Obj-Sort 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
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 Obj-Open and Obj-Save methods, not the RDB- methods, with the PegaRULES database to prevent loss of data.
- Explain about RDB-List method?
RDB-List method is used to retrieve rows from an external relational database and place the results as embedded pages in a specified step page of classCode-Pega-List.
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 RDB-Open method?
RDB-Open 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 RDB-Save method?
RDB-Save 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 RDB-Delete method?
RDB-Delete 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 (Rule-Connect-SQL 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 circumstance-qualified 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 circumstance-qualified rule?
To create a circumstance-qualified 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 circumstance-qualified 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 (Rule-Circumstance-Template rule type)
Circumstance Definitions (Rule-Circumstance-Definition rule type)
- 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.
pega interview questions and answers for experienced