Pega PRPC Interview questions
2-3 years of experience can easily get through the interview . Please follow the questions below
48) What are the different types of Pega logs?
Ans: Different types of Pega logs are PEGA, SERVICES-PAL, ALERT, BIX, and ALERTSECURITY.
49) Difference between Exit-Activity and Activity-End in step methods in activity?
Ans: The Exit-Activity method ends the current activity and returns control to the calling activity.
The Activity-End method ends the current activity and all calling activities
50) Difference between Call an activity and Branch an activity in Step methods in activity?
Ans: Call instruction causes the current activity find another specified activity and execute it. When that activity completes, control returns to the calling activity.
Branch instruction causes the current activity 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.
51) When do you use Decision Tree and when do you use Decision Table?
Ans: Decision tree is used when we have to build complex nested if else conditions and Decision table is used when the simple if else is the required.
52) What all the information you mention in Operator creation?
Ans: Accessgroups, org/div, Workgroup & workbaskets are important information.
53) Have you ever worked on DSM - Decision Strategy Management? Explain?
54) If User A and UserB are associated to single accessgroup, can UserB access the workbasket of UserA?
Ans: No. Workbaskets are not related to accessgroup. Workbaskets are mentioned in operator instance.
55) Difference between RDB-List & RDB-Open?
Ans: Difference is similar to the differences between Obj-List & Obj-Open.
56) What do you think Pega does internally in RDB and Obj methods? Differences?
Ans: Obj methods: Pega internally generates the sql statements required for the operations (like open/save/delete/list etc.).
RDB methods: We, the developers, will be providing the required sql statements for the operations for execution in Connect-SQL rules. So, its developer’s responsibility to use the correct table, column names etc. in the sql statement.
57) How do Pega recognize if the table is internal or external table?
Ans: Pega recognizes based on the existence of pxObjClass property in the particular table. If the property exists, it’s an internal table else external table.
58) How many rules will be created once connect soap is consumed?
Ans: A minimum of two rules i.e. Connect-Soap and referring activity will be created. Whether more number of rules are created are not basically depend on the no. of input and output parameters.
59) Activities – Purpose of MayStart?AndAuthenticate checkbox?
Ans: May Start:Select to allow users to start this activity directly through user input processing, for example through a Submit button or a pyActivity= element in an URL. Clear this if this activity is to be started only from another activity, through a Call, Branch, or other means.
Authenticate: Select to require that only authenticated requestors can start this activity.[In most cases, clear this checkbox if the activity is for an agent. Agents are not true authenticated users and by default cannot run activities that are restricted to authenticated users. However, this checkbox is ignored by agents for which the “Bypass activity authentication” checkbox (on the Security tab is checked; they can run activities regardless of the Authenticate? value.
Pega PRPC Interview questions - I
Pega PRPC Interview questions - I
60) Guardrail which is related to Activities?
Ans: Limit custom java, Do Nothing Hard(use OOTB), declaratively and not programmatically.
61) Guardrail which is related to User Interface?
Ans: Do Nothing Hard(use OOTB)
62) How do you join two tables in LV? And Is this inner join or outer join?
Ans: In Join tab of LV. It’sOuterjoin.
63) What is the difference between LocalVariable and Parameter?
Ans: Parameter is a variable which is expected from the calling activity and LocalVariable is for internal(within the activity) logic building used. This local variable is not exposed to outside.
64) How do you pass a localvariable to another activity as a parameter?
Ans: Local variable is for internal logic building in the activity. This can’t be passed over as a parameter.
65) How do you log messages in activities?
Ans: Property-Set or Page-Set or Log-Message method in activity.
66) Difference between PageList and ValueList?
Ans: PageList is a property mode and is used to hold list of pages.
ValueList is a property mode and is used to hold list of values.
67) How to you limit a user from checkin/checkout functionalities?
Ans: Using “Allow Rule Checkout” checkbox inAdvanced tab of operator rule form.
Checkout can also be limited for a particular ruleset using “Use check-out?” checkbox in Security tab of Ruleset rule form.
68) Difference between Connect and Service rules?
Ans: Connect rules are used to consume some external features into our application.
Service rules are used to expose our application features to external consumption.
69) How do you map a class to a data table?
Ans: While creating a data table, we need to mention the class to which this data table is mapped. This can be any class i.e. work class or data class.
70) I have a property with name “pyId”, but in the database I have named it as “CaseId” by mistake. Now, how do I write sql query to fetch this in external db?
Ans: This can be achieved using External Mapping tab in the respective class rule where the Column Name and respective Property Name can be mapped.
71) Withdrawn rule?
Ans: Equivalent to deleted rule. The rule cannot be referred from any of higher version and current version rules.
72) Difference between Obj methods and RDB methods?
Ans: Obj methods are used to operate on instances stored in the PegaRULES database and in an external database linked to an external class.
RDB methods are used to operate only on an external relational database. Do not use RDB methods to operate on the PegaRULES database, because not all properties in the PRPC databases are distinct database columns.
73) How do you achieve Call and Branch functionalities in BPM?
Ans: Call can be implemented using a simple sub process in the main flow. When a subprocess is encountered in the main flow, the main flow is halted temporarily and the subprocess is executed. Once the subprocess execution is completed, the main flow is continued. (Assuming further shapes are present after the subprocess call in the main flow)
Branch can be achieved in a flow. Let’s say, I have a main flow with 3 assignments(Assignment 1, Assignment 2, Assignment 3) and then a subprocess. There are no more shapes in the main flow. And the in the subprocess there are 2 assignments (Assignment 4, Assignment 5) and then an End shape.
74) What are the key things that needs to be considered while designing
Ans: Class structure, application architecture, DB Model, DB Designing.
75) What is the difference between node and thread?
Ans:
· A PegaRULES Thread object is a named context of clipboard pages. Most processing for a requestor is single-threaded. Ordinarily, each interactive user, accessing PRPC through HTTP and a browser has only a single, dedicated process, and one Thread named STANDARD. The pxThread page is a named top-level clipboard page sometimes referred to as the thread page. The class for the page is Code-Pega-Thread.
· PRPC engine can operate in a distributed mode, running simultaneously on more than one server in a cluster. Each server hosting the PRPC rules engine software is known as a node.
76) What are the super classes present in pega immediate to @baseclass?
Ans: There are 12 toplevel classes which are immediate to @baseclass. They are
Assign-, Code-, Data-, Embed-,History-, Index-, Link-, Log-, Pega-, Rule-, System-, Work-
77) In an activity, can we jump to a previous step i.e. lower numbered steps?
Ans: No. Pega doesn’t support this.
78) What is the purpose of skimming?
79) Localization?
Ans: The localization process overrides text in user-visible field value rules that appear in application elements such as user forms and portal displays. This process makes an application available in one or more additional languages.
80) When will a work object be actually saved in a screen flow?
81) If we write System.out.println in java code then where can we see the message, tracer or clipboard?
Ans: System->Tools->Logs->Log Files
82) How do you call 2 assignments at time? About map value?
83) What is AJAX? How we used in Pega?
Ans: Asynchronous JavaScript and XML (AJAX) is a Web technology that allows browser-based applications to communicate with a server without transmitting the entire HTTP input, and to render only parts of the form rather than the entire form.
Using XML and the Document Object Model, AJAX-based software can provide more interactivity to browser-based applications and reduce the traffic between the client (browser) and the server.
Process Commander uses AJAX technology in:
· Dynamic select operations
· User interface events such as Visible When, Refresh When
· Deferred loading of sections of user forms
· Display on user forms and flow action forms of calculated values computed by declare expression rules
· SmartPrompt support
84) How to send a work assignment simultaneously to Worklist and Workbasket?
Ans: Using spinoff shape or Slit-join shapes in workflow.
85) Which is better option of Decision Table and Decision Tree in performance aspect?
Ans:Performance wise, Decision table is more efficient than Decision tree.
Basically, as a rule of thumb,
· If you're making decisions on series of data that are different from one branch to the next, use decision tree.
· If you're making decisions against the same data element, use decision table.
· If you're making decisions on the basis of only 1 or 2 values, then use MapValue.
· If you want to get a Boolean returned, or when your decision employs a lot of complexity but doesn't need to be applied to a lot of cases, consider using a When rule.
86) How is urgency value computed in SLA usage?
Ans: https://pdn.pega.com/forums/pega-academy/senior-system-architect-program/using-slas-urgency-of-assignments
87) Push routing and pull routing in pega?
Ans: In many business processes, tasks to be performed by human workers are stored in central in-baskets or electronic equivalents of in-baskets. A supervisor reviews the tasks and assigns them to a worker on her team, or workers select an item to work on when they become idle. This approach is called "pulling" work.
In other settings, work is sent directly to workers based on their availability or other criteria such as skills, regions, or customer account number. This is called "pushing" work.
PRPC supports both approaches. Your routing activities can place assignments in workbaskets, or can send the assignments to worklists.
88) What is the feature which acts a constructor in Pega? (like java class constructor)
Ans: Model or DataTransform (pyDefault)
89) Which is efficient of Obj-Browse & Obj-List-View?
90) Difference between Cover & Folder?
Ans: Covers and folders are two built-in facilities that allow your application to support collections of work items.A folder work can be a member of other folder work items.
Folders contrast to covers in following aspects:
· One work item may be associated with multiple folders, but only with one cover.
· Members of a folder can belong to different work types, which need not belong all in a single work pool.
· The relationships between folder work items and their contents may be many-to-many.
As a business example, consider a purchasing application where a basic work item is a line item on a single purchase order:
· The purchase order corresponds to a cover object. Every line item belongs to one purchase order.
· Folders organize open purchase order line items by our part number and also by the vendor's part number. A folder work item (in Work-Folder-OurPartNum work type) may be associated with several line items, and one line item can simultaneously belong to a Work-Folder-OurPartNum work item and a Work-Folder-TheirPartNum work item.
91) How to trace Listeners/Agents/Services?
Ans: Listeners(MQ Listeners etc.) and Agents can be monitored from SMA tool.
92) Agents?(Standard and Advance differences)
Ans: An agent is an internal background process operating on the server that runs activities on a periodic basis.
· The name of an agents rule is the name of a RuleSet and there can be only one agents rule defined for each RuleSet and version in a PRPC system.
· When the Agent Manager master agent notices a newly added Agents rule (Rule-Agent-Queue), it generates agent schedules (Data-Agent-Queue instances) for each node in your PRPC system.
· Each agent activity runs individually on its own interval schedule, as a separate requestor thread. Do not design application logic that depends on agent activities running in a specific order.
· QueueMode determines 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. Three options of queue mode are,
· Legacy — Specifies that this is an agent that was created in a version prior to V5.4 and has not yet been updated.
· 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.
93) Can we map 3 different work types to 3 different work tables?
Ans: Yes, this can be.
94) How to get the data from 2 different tables?
95) Exception handling while RDB methods fails?
96) Using Agent we run 10 wo's and from this 5 wo's are failed, how you know this info?
97) Global resource settings?
98) Parsing and stream rules used in connect-soap?
99) What does the naming convention of pr_/pc_/pvbv4_ in the initially installed PegaRULES database represent?
Ans: When initially installed, objects in the PegaRULES database follow a naming convention, using these prefixes:
§ pc_ identifies tables containing instances corresponding to Pega-ProCom RuleSet capabilities, such as flows, work items, and assignments.
§ pr_ and pr4_ identify tables for activities, properties, requestors, and other features of the rules engine, corresponding to Pega-RULES RuleSet capabilities.
§ pvbv4_ identifies views that speed queries and reporting.
§ sppc_ and sppr_ identify stored procedures.
§ trpr4_ identifies database triggers.
100) I have consumed a WSDL using Connect-SOAP and created activities. But later, the request parameters are updated or new parameters are added. What changes do you need to do in PRPC for the webservice to work? I.E. How to update an existing Connect-SOAP?
101) Difference between Obj-Open & Obj-Open-By-Handle methods?
Ans: Obj-Open is used to open a particular instance stored in PegaRULES DB or an external DB and populate the details on the 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.
Obj-Open-By-Handle is used if you can determine the unique handle that permanently identifies which instance to open. Otherwise, use the Obj-Open method. The handle of an instance is a unique key, in an internal format, assembled by the system that identifies an instance in the PegaRULES DB.
102) Difference between Obj-Browse & Obj-List methods?
Ans: Obj-Browse method is used to search instances of one class and copy the entire instances, or specified properties, to the clipboard. 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. All the properties which are used in the select criteria has to be exposed properties. The selection criteria can be an exact value
Obj-List method is used to retrieve data to the clipboard. This is a deprecated method. At least one property mentioned in the “SelectionProperty” list should be exposed property. The selection criteria have to be between a range of values.
103) Difference between Starter Flow & Normal Flow?
Ans: A work object can be created only by a Starter Flow. A Normal Flow refers to a flow which can’t create a workobject. Such normal flows can be only be used as a subprocess in starter flow.
104) How do you identify whether the flow is a starter flow or normal flow?
Ans: This can be identified in the Process tab of the flow. “Creates a new work object?” checkbox will be checked for a starter flow.
No comments:
Post a Comment