Thursday, 31 July 2014

PRPC real time interview questions.

What is REST? Why we need to use REST. What is the difference between REST and SOAP?
What are different types of Flows?
What is the class of clipboard page?
What are the different pages in clipboard.
What are different property types.
What is the scenario when we use value list.
What are different activity types.
How can u create work object using activity.
What is the difference between spin off and split join?
What are the shapes which are available in start flow and do not appear in sub flow.
How do u handle exceptions in flows?
How do u restrict user not to edit the decision table.
What is map value? When we use map value.
Explain declarative rules with examples.
What is the difference between property validate and page validate?
What is availability of rules?
Explain availability of rules with example.
What is Rule resolution algorithm? How PRPC finds rules.
What is circumstance? How u do circumstance of a rule.
What is a product rule? How u will create that.
What is the difference between when and fork in flow.
How work object will be created. By default which table it will be stored. How to change the table which is mapped?
How do we find out which class mapped to which table.
How external database connected to PRPC. How tables are connected to different classes.
How to expose a property? What are different ways to expose it.
What is unexposed property? Where that value stored?What is the column which will store the values.
How to retrieve data from BLOB?
What are different validations in PRPC.
What is an agent.
What is Data agent and what is rule agent.
How to trace an agent.
What is the difference between thread, node and requestor?






Wednesday, 16 July 2014

Difference between obj and RDB methods

  1. What is the advantage of Obj- methods over RDB methods?
Using any of the Obj- operations allows you to take advantage of transactions (deferred database transactions) whereas RDB- operations execute immediately.
When using Obj-Save and Obj-Delete, you can cancel or rollback all of the related operations without committing the changes to the database. RDB- operations commit immediately.
Obj- methods can be used to retrieve data from the BLOB (pzpvstream column) and save data to the BLOB. So they can be used for properties that are not exposed along with the exposed properties.
RDB- methods cannot read from or update the BLOB.
So if our table has the pzpvstream (BLOB) column then we should always use Obj- methods. This will work on the exposed columns as well as the BLOB.

2.      When Obj-Open can access external database well, what is the necessity of RDB-Open? (Or when exactly we go for RDB methods or what is the advantage of RDB- methods over Obj- methods?)
o   RDB methods support stored procedures. OBJ methods do not.
o   RDB method support hand-crafted / optimized SQL. OBJ methods generate all SQL on the fly behind the scenes.
o   OBJ methods support a PRPC unit of work / two phase commit. RDB methods are atomic - they are unique transactions and automatically commit on completion.
o   Most Cases you do NOT have to map tables to PRPC objects to use RDB methods. RDB methods only see / touch those columns that are in your DB Schema, and you don't even have to map them to objects / properties . On the other side; mapping a table to a PRPC 'external' class and using obj- methods directly extends PRPC object model to the external table.

Monday, 7 July 2014

How to call an activity from function

function SaveOpp()
        {                     
                                    var displayURL = new SafeURL("Assign-.pyProcessAssignmentFromReview");
                                                displayURL.put("pzPrimaryPageName",pega.u.d.primaryPageName);
                                                var url = displayURL.toURL();
                                                window.location = url;
                                }

Sunday, 6 July 2014

Pega interview questions and answers

How class instances will be stored in database?

whenever a class has been created it is automatically mapped to pr_table in the pega database. To store them explicitly in other database, we need to create a data base instance in pega. In this instance we need to create the table name and class name.

when any changes has been done to the table in the database like adding or deleting column we need to do a save of DB instance again to store the value. Till this no instance will be saved in database.



What is WorkGroup. How Workgorup will be used in business perspective.

A work group is a logical collection of operators having a common supervisor ie. a work group 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 work group, the My Group area of the Process Work space provides quick access to the worklists and workbaskets associated with the group (In the workbasket tab of workbasket data instances we enter the name of a work group 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.