Pega Interview Questions And Answers
by Mohammed, on May 21, 2018 12:11:40 PM
Q1. What is a Work Group? What is the primary function of a Work Group from a business perspective?
Ans: A workgroup is a logical collection of operators having a common supervisor i,e. a workgroup can identify a user who is a supervisor and a set of workers and workbaskets that report to that supervisor.
Use – For the supervisor of a workgroup, the My Group area of the Process Workspace provides quick access to the work lists and workbaskets associated with the group (In the workbasket tab of workbasket data instances we enter the name of a workgroup that uses the workbasket. This field determines which workbaskets appear in the View Queue list on the My Group area of the Process Work workspace for managers). Also, workgroups facilitate for better monitoring and reporting of tasks on the Monitor Activity workspace.
Q2. What is skimming explain?
Ans: It collect the highest version of the every rule in the ruleset and copies them into new major version of that ruleset on the same system.
EX: If we are skimming loan appl:05-06-07, the only options like 06-01-01 and 07-01-01, but we can not skim to 05-07-08 and so on.
Q3. What are different methods used in activities?
Ans: Page-New, Page-Remove, Obj-open,Obj-List, Obj-Save, RDB-Save,RDB-List,RDB-Delete etc..
Q4. 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
Q5. Explain about Work Object?
Ans: A work object is the primary unit of work completion in an application, and the primary collection of data that a flow operates on.
As an application is used, work objects are created, updated, and eventually closed (resolved).
Every work object has a unique ID (property pyID), an urgency value, and a status (property pyStatusWork).
Q6. Explain about Work Object ID?
Ans: A work object ID is the permanent, external identifier of a work object.
If we don’t specify a prefix (on the Details tab of the application rule), the Work-.GenerateID activity uses W- as the prefix and no suffix. The Work-Cover-.GenerateID activity uses C- as the default prefix. Conventionally, the F- prefix is used to identify folder work objects.
Q7. Where we determine the prefix and suffix of of the Work Object ID?
Ans: The prefix and suffix are determined by a model rule pyDefault for the work type or the class corresponding to the class group. The model is referenced on the Process tab of the flow rule that creates the work object.
Q8. How to call one activity from another activity:
Ans: They are two types:
- Call: If we call one activity to another activity by using call, it will execute the called activity and return back to calling activity then execute the remaining steps in a calling activity.
- Branch: If we call one activity to another activity by using Branch, it will execute the called activity and calling activity then it will not execute the remaining steps after branch.
Q9. How do you associate an operator with a workbasket?
Ans: Each operator may have a list of workbaskets that they can view. Normally users can fetch assignments directly from any workbasket defined for their own organizational unit. However, if the roles are specified in the roles array on the workbasket tab of the workbasket data instance, the operator must possess at least one access role that matches an access role in the Roles array.
Q10. Diff b/n file listener and connect file?
Ans: File listener used to import data from a file.
Connect file defines the name and location of an output file created by ur application.
Q11. what is local action?
Ans: when action is finished work object returns to same assignment.
Q12. what is WSDL file?
Ans: it is web services description language.it is written in XML format.
Q13. Difference between Decision Table and Decision Tree:
Ans: Decision Table:
- The logic Implemented in Decision Table is if, else if condition.
- In Decision Table, if first condition is true, it will not check the remaining conditions/if first condition is false , then only it will check next condition.
- For simply logics, we can go for Decision table.
- The logic implemented in Decision Tree is if, if condition’s.
- In a Decision Tree, if first condition is true or false, it will check the al condition’s and it will return results.
- For simple logics, we can go for Decision Tree.
Q14. What Is The Difference Between Listview And Summaryview ?
Ans: A summary view rule defines a two-level 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 pop-up Smart Info windows.
A summary view rule is an instance of the Rule-Obj-SummaryView rule type. This rule type is part of the Reports category.
A list view rule, an instance of the Rule-Obj-ListView 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.
Q15. What Is Paging In A Listview?
Ans: To divide the ListView in to different pages and set the number of records to be displayed in a page.
Q16. Can we refer the property without exposing in Reports?
Ans: 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.
Q17. What the class of getContent Activity?
Ans: Embed-ListParams class.
Q18. What is the activity responsible for getting the data in List View?
Ans: getContent Activity
Q19. 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 Rule-Obj-ListView
Step4: Write the another activity in Embed-ListParams
Step5: create the parameter. This parameter get the sql query from previous activity
Step6: write Java method The java code in this method is
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.
Q19. What are SLAs used for? How do you configure an SLA?
Ans: SLAs are rules in PRPC that indicate the expected or targeted turnaround time for the assignment, or time-to-resolve for the work object. Each service level rule defines one to three-time intervals, known as goals, deadlines, and late intervals. Late intervals are repeated.
Service level rules can be associated with assignments in a flow and with the entire flow. For example, we can set a goal of 2 hours to process an assignment and a deadline of 4 hours. (The time interval starts when the assignment is created, not when a user begins processing the assignment.)
For assignments, the service level rule is referenced in the Assignment Properties panel of the assigned 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.)
** The Pega-ProCom agent detects service levels not achieved — unmet goals or deadlines — promptly. If an assignment is not completed before the time limit, the system can automatically notify one or more parties, escalate the assignment, cancel the entire flow, and so on.
Q21. What do you mean by Case Management in PEGA? When do you use folders?
Ans: Case Management involves managing work that, for processing and reporting purposes, differs from classic BPM work objects. Cases may involve:
- Less rigid structure.
- More flexibility in the order of tasks or which tasks are needed.
- Interrelationships with other work.
- Process Commander facilities supporting sophisticated case management include covers, folders, and case type rules.
- Case Management design is governed by the Case Type Definitions gadget, which is used to configure the following case type and work processing configurations. Using the gadget, you can:
- Construct covering relationships and build new case types using a standard tree gadget.
- Add entirely new case types: Creates Class and Case Type rules, provides standard starting flows for the new case type.
- Reuse existing case and work types.
Manage various aspects of work processing, including:
Attachments Categories(and automatic attachments when work objects are created).
Automatic and conditional instantiation of covered items when a new cover(case) is created.
Mapping roles to object access for your various case and work types.
Q22. What do you mean by exposing a property? Did you use any SQL tools or does Pega provide some means to expose columns?
Ans: A Single Value property that is visible as a column in a database table is said to be exposed. Only exposed properties can be used for the record selection operations in list view and summary view rules.
In PEGA we can use the ‘Modify Database Schema’ wizard to expose properties. Also, the database administrator can cause a property previously stored only inside the Storage Stream column to become a separate exposed column using SQL tools such as TOAD.
** Aggregate properties, properties within an embedded page, and properties that are not exposed are contained in a specially formatted Storage Stream or BLOB column. Most Pega Rules database tables contain a Storage Stream column named pzPVStream.
** Exposing too many properties in a table may speed reporting and searching operations, but make the insert and update operations slower. The tradeoff and relative impact depend on hardware and software and no general guidelines exist.
Q23. How to connect with external data base:
- Whenever we want to connect with external data base, first we need to create the data base.
- Whenever we create the data base, we need to provide the JDBC url name, user name and password.
- Once we created the date base, we need to create the data base class. In a data base class , we need to create the required properties.
- After creation of data base class, we need to create the data base table. At the time of creating data base table, we need to provide the data base name, data base table name and schema name.
- We need to create the connect sql. In a connect sql rule , if we want to fetch multiple records then we need to write the query in browse tab.
- If we want to fetch single record then we need to write query in open tab.
- If we want to save the data in to data base then we need to write the query in save tab.
- Create the activities by using RDB-Methods.
Q24. What is Access Group and Access roles and difference between them?
Ans: Access groups make a set of RuleSet versions available to requestors. Use an access role name to convey permissions (capabilities) to a user or a group of users. Access roles can be referenced in requestor instances, Operator ID instances, in access group instances, in activities, and in queries.