PEGA Interview Set2
PEGA Interview Set2
A) Split join is sub flow of ur flow is completed before continuing the current flow completed.
Split for each is to send a work object through another flow based on the information in the pages of page list and page
group.
Rule-Declare-Trigger?
A) It identifies an activity to run when an instance of specific class is saved, updated or deleted in the database.
this implements a form of forward chaining.
EX: A Declare Trigger rule can execute an activity each time an instance of class is saved with modified ZIP code.The activity
might send a email to
Sales representative whose area includes new address.DT can implement a form of class history like date, time and other
facts.
Can we start a flow using activity and what is that method which is to be used?
A) Yes, Flow-New method is used to start a new flow.
Can we use Rdb-Save along with commit, if yes then why? if not yes then why?
A) Yes, commit is used to save the data permanent in the DB.
What is Access Group and Access roles and difference between them?
A) 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.
How many requestor types are there and what are they?
Application, Batch, Browser, Portal.
Forward Chaining: It provides the automatic calculations of the property value by executing the declarative rule,
when any one of the input property value is changed.
EX: If the Area property depends on the Length and Width property, then forward chaining causes the Area
property recomputed each time either Length/Width value changes.
Backward Chaining: It provides the automatic calculations of a property value by executing the declarative rule,
when a value is needed for property rather than whenever inputs change.
EX: If the Area property depends on the Length and Width property, then backward chaining causes the Area
property recomputed each time the Area property is required.
Connect file defines the name and location of an output file created by ur application.
Rule- base class is the abstract class of the rule classes. It defines how an organization uses that application and run
the business.
Work- is the super class to all the classes that defines work objects.
Data- is an abstract class that contains static data.
Data- do not repeat the information stored in the other databases.
such type of information can be accessed from the process commander system with connectors.
Virtusa
Declare on change?
it is the instance of Rule-Declare-OnChange rule types. it is used to run an activity automatically at activity step limits
whenever the specify property value is changed. this capability provides automatic forward chaining.
EX: we can create a declare onchange rule to send an email to emp whenever HRA,TA,PF is changed. we can define RDO
rules property inside the embedded page. we need to specify page name and class name in the pages and classes tab.
Declare pages?
A) it is the instance of Rule-Declare-Pages rule type. it is used to define the content of clipboard page that is available in read
only mode for multiple requestors in ur application. the name of the declare page starts with Declare_.
What is circumstance?
A) Circumstance is the optional condition and enhancement of rule resolution alg. diff variations of the rules within the
same version created for diff flavors suit for different situation. circumstance works during the rule resolution, at run time
system first find the rules based on class hierarchy then searches for a rules the requestors session needs, it compares the
values of rule set, version, availability to determine which rule executed.
call, branch?
A) call Activity: the call activity instructs the current activity to find and run another activity using rule resolution.After the
called activity completes the calling activity processing.the called activity can use its parameter page. the main advantage of
call activity is reuse.
Branch Activity: it is similar to call method. Branch activity refers to the another activity. the execution of the original
activity ends the execution of the branched activity completed without return..
Property-validate is only one property we can do validations for single work object
Mphasis
What is Access Group?
Each Access role can specify one or more access role to Objects
It is Granular part of Access Group. It defines a role in org and provides capabilities like accessing or restricting of objects.
work basket is a instance of Data-Admin-Workbasket class. Work object progress through a flow execution, the system
creates assignment. Assignment may be created either with individual user or work basket.
running a parallel sub flow to the main flow or calling a service through integration shapes and at the same time processing
a job.....
What is Agent?
Agents are internal background process operating on the server to run an activities. Agents are asynchronous and
independent. They also perform system tasks such as sending email notifications and synchronizing caches across nodes.
Activities they call run individually on their own scheduled and one activity doesn't have to finish another activity
Obj method can be used to fetch the data from Blob columns but RDB methods can only help to fetch the data from
exposed columns
RDB methods are faster than OBJ methods in terms of response time
Normally we use OBJ methods for pega tables and RDB methods to fetch the data from external database
what is exact difference between step page and page new(both will create the pages)?
A) Step page defines the page context on which a method is going to be executed. step page does not creates a page..while
page-new is used to create page
what is exactly obj-browse and obj-list(why it is deprecated)
A) obj-browse allows you to filter the data instead of fetching all the data...thus lesser memory consumption...
deprecated means...pega does not recommends using it..but to support previous version application they have kept it
create a new instance for product category, in that category we have to provide rule sets and rule set versions create zip file
and moves to test server.
If calling an activity from any other activity may start check box is optional. if the activity getting called for the form
submission then may start in need to be checked.
Authentication is the process of determining the identity of user or requestor. proper authentication is required for the
activity to get start for the corresponding operator. Activity will not triggered when the authentication is checked.
set the value of one or more property values. it contains property name and property value.
obj-browse is used to open more than one value in the clipboard page/external system
What is flow-action?
it is the instance of Rule-Obj-Flow Action rule type. it is the one category in UI specifies the choices to user performing
assigned work object.
Local FA: if action is finished, work object returns to same level.
Connector FA: if action is finished, work object moves to next level.
we need to add one or more class groups to create the work pools in which user associated in the access group to create the
work objects.
it is the instance of Rule-Obj-Servicelevel rule type. it can be added to assignment or work object.
Each SL defines one or more time intervals like Goal and dead line that indicates expected or targeted time for the
assignment and time to resolve for work object.
Within the clipboard we have to findout whether the pyGoalproperty and pyDeadlinepropety properties are empty
then SL not working.
Differentiate constraint vs validation?
Constraint is a declarative rule which gets called automatically whenever invalid value entered by the user and show the
error message according to ur logic, unlike constraint validation is not a declarative rule ad u need to call it from say flow
actions/activity etc...it's also used for validation.
Guardrails guide u, how to code any application in best way using pega.
Agents are internal background process operating on the server to run an activity. these are asynchronous and
independent.
Cover is Work Object that is parent to one or more work objects. the covered WO are Children in Parent-Child relationship.
one work party is present in the cover work object that is also present in the covered WO associated with the covers.
Have you used spin-off shapes in your application, if so what is the case?
The work object processing in the current flow in parallel without waiting in the other flow to continue.
Pega logs: these are also called as system logs. message was created since the server starts recently.
Alert log: it contains only alerts and supports performance related monitoring.
Lock should be held on the work object in order to save/update/delete the content in the db.
DWA is any one access the World wide web and email to process an assignment on a one time basis. This feature extends
the scope ur appl to empls througout the enterprise.
It helps the automatic calculations of the property value based on the changes of the other property value.
Application profiler wizard, Appl Accelerator, Appl Doc Wizard, Appl use cases, Appl requirements.
If you have work experience on Soap Service. What are the rules required for Soap Service?
A) Service Package, Service SOAP, Activity
Tracer: it is a tool that checks the individual requestors session, tracking the execution of rules. you can set the
breakpoints to set the results of an action and review the property value.
Clipboard: transferring the data between the application and database is clipboard. process commander keeps XML based
structure called pages and page contains property value pairs.
What is SLA’s & what are the types of SLA’s. where we can put these?
It is the instance of Rule-Obj-Service Level Rule type. It can be added to Assignment and work object.
Service level contains 2 time intervals Goal and Deadline. it indicates the expected time for the assignment and time to
resolve the WO.
both are mandatory depends on requirement we will use both. we will give first preference to Directed. It should not be left
blank.
Designer Studio > Integration > Connectors > Create SOAP Integration.
The wizard will process the WSDL file and show all available service operations
Individual operations can be tested in this step by clicking on the Test button
new service ruleset should have been automatically added to the application rulesets
open the rule and see all generated Connect SOAP rules
go to App Explorer > Expand Integration-Connectors > Select Connect-soap rule say getAllProducts
Service tab of the Connect SOAP rule allows the configuration of response timeout, error handler flow
Designer Studio, create a new activity in the application -Work class for calling the SOAP web service
activity will retrieve all products from the service using the Connect SOAP rule
Create a new page instance of the service implementation using the Page-New activity method.
Step 2: Call the SOAP web service using the Connect-SOAP method.
Step 3: The products received from the service are logged and sent to the tracer using the Log-Message method and by
enabling it's SentToTracer parameter as shown in step 3 of the activity.
Edit Database form select "use JDBC URL listed below" and username and password
Pega 7 Designer Studio > Integration > Connectors > Connector and Metadata Wizard >
Select the external table columns for which the wizard will generate property rules
Application Explorer can be used to review and open the generated rules.
Obj-Browse – to query the database table
Obj-Filter – to filter results of Obj-Browse
Obj-Save – to update and save a record
Obj-Delete – to delete loaded record
Obj-Delete-By-Handle – to obtain a record by ID and then delete it
Obj-Save-Cancel – to cancel the most recent uncommitted Obj-Save
Data model > classes and properties > go to classes and mapping > map the table ebuy-data-jobs with jobs table
Select ebuy-data-jobs > click on connect-sql rule > enter name as getjobs
go to browse tab > enter select job-id from (class:ebuy-data-jobs) and save
jobdetails code-pega-kist
jobdetails.pxresults ebuy-data-jobs
getjobs
oracle
pagename
records
Call myproc{
{Inputpage.Property1},
{Inputpage.Property2},
{Inputpage.Property3},
{Inputpage.Property4 OUT},
{Inputpage.Property5 OUT},
)
Exception handling in Pega
Whenever there is exception in connectors, connectionflowproblem will be executed. You can customize this accourding to
your requirement.
You can also handle the exception in activity jump, on exception jump to step…in that you can create a separate harness to
display appropriate or user friendly message to user.