How to expose the column in the blob… of the database | PEGA Questions

ANS:- Using the Modify Database Schema wizard.

Decision / fork usage… Scenarios Decision: | PEGA Questions

Decision:
Use the Decision task ( ) to reference a map value rule, decision table rule, decision tree rule or a Boolean expression that when evaluated produces a value that is the basis of branching in the flow.
At runtime, the system evaluates the decision rule based on inputs from the flow and the work object, and  chooses one of the outgoing connectors based on the result. No user interaction or input is required.

Fork: Use the fork shape ( ) to represent a point where the flow execution chooses one of a few different paths (connectors) based on tests on the work object. At runtime, the system evaluates the conditions on each outgoing connector, starting with the connector assigned the highest likelihood

Privileges usage… | PEGA Questions

A privilege is an application-specific access control element associated with a class and access role.

A privilege rule is an instance of a Rule-Access-Privilege rule type.

Using privilege rules in an application is optional, but they can offer finer control over access than access roles alone.

Spinoff // split join explain | PEGA Questions

Spin-off shape ( ) onto the flow
When a work object advancing through a flow reaches the Spin-off shape, Process Commander starts execution of a different flow, using the current or a different work object. Processing in the current flow rule continues in parallel, without waiting for the other flow to complete.

the Split/Join shape ( ) onto the flow
Use the Split-Join shape to require that multiple subflows of your flow be completed before the current flow continues execution. This allows subflows to execute asynchronously, in parallel. For an example, see the standard flow Work-.ParallelWork.

Split-ForEach shape ( ) to any locations

The Split-ForEach task provides a form of searching or enumeration over the pages in a property. Use a Split-ForEach shape to iterate over the pages of a Page List or Page Group property. For each page, you can conditionally start a flow execution for the work object.

How to connect external java application without using connect-java | PEGA Questions

ANS:- SOAP or JMS or  IAC s

How a user’s ruleset list is formed ( the logic )? | PEGA Questions

The system adds entries it finds from following sources in the order listed. The system adds entries it finds from these sources in the top of the list,

1. Requestor : (Data-Admin-Requestor class) — Usually this adds the RuleSets named Pega-RULES, and Pega-IntSvcs and a version or version prefix for these
2. Division — As referenced in the Operator-ID instance
3. Organization — As referenced in the Operator-ID instance
4. Access Group : As referenced in the Operator-ID instance
5. Ruleset Versions — Prerequisite RuleSets and Versions to those already compiled

6. Operator ID : If this user has the ability to check out rules, the personal RuleSet (named the same as the Operator ID key) is added last. Also called as private ruleset.

List different functions used to call an activity from java script. | PEGA Questions

window.open (urlToRun,”_self”);
openUrlInSpace (urlToRun,”");

Where  urlToRun refer the activity name

How to restrict the harness, section to particular user | PEGA Questions

Using the circumstances or using different access groups and privileges

How to get a property value from clipboard using Java step? | PEGA Questions

ClipboardPage workpage = tools.findPage(pagename);
String  propername = workpage.getProperty(“.pxResults.Risk”).toString();
 Or

 String  propertyname= tools.findPage(“WorkListPage”).getProperty(“.pxResults.Risk”).toString();

How to call an Activity from Java step? | PEGA Questions

HashStringMap activityKeys = new HashStringMap();
activityKeys.putString(“pxObjClass”, “Rule-Obj-Activity”);
activityKeys.putString(“pyClassName”, workclass);
activityKeys.putString(“pyActivityName”, “HistoryAndAttachments” );

tools.doActivity(activityKeys , workpage, tools.getParameterPage() );

How can I pass page as the parameter to the activity using java, JavaScript? | PEGA Questions

Using java you can, may be using java scripts you  can , I not sure

How to pass parameters to the activity using the java, JavaScript? | PEGA Questions

pyActivity=GHC-HPlan-CS-Work.ABC&CSR=” + CSR.

how to call an activity from the java, java script | PEGA Questions

<Script>s
Function A ()
{
var urlPath = “./PRServlet” ;
var url = urlPath + “?pyActivity=GHC-HPlan-CS-Work.ABC&CSR=” + CSR;
window.open(urlPath,”_self”);
}
</script>

Or  you can use osafeURL to call an activity
Using  java :
sHashStringMap activityKeys = new HashStringMap();
activityKeys.putString(“pxObjClass”, “Rule-Obj-Activity”);
activityKeys.putString(“pyClassName”, workclass);
activityKeys.putString(“pyActivityName”, “HistoryAndAttachments” );

tools.doActivity(activityKeys , workpage, tools.getParameterPage() );

how to end the workobject in the activity ( method used to kill the work object) | PEGA Questions

ANS:- Using  java script.

How to call an Activity from Java Script? | PEGA Questions

<Script>
Function A ()
{
var urlPath = “./PRServlet” ;
var url = urlPath + “?pyActivity=GHC-HPlan-CS-Work.ABC&CSR=” + CSR;
window.open(urlPath,”_self”);
}

</script>

how to send multiple correspondences at a time | PEGA Questions

Preflight:
Starts the Application Preflight tool, which reports warning conditions on the rules in your Application RuleSets. These may indicate guardrail compliance issues, potential performance issues, accessibility status, or other notable conditions.

- Application Preflight tool to list each rule in an application that contains a warning message. Warning messages suggest that the rule is at variance with guardrails and other best practices. You can also check for browser compatibility of visual elements.
you can extend the set of warnings with a custom activity named Rule-ZZZZ.CheckForCustomWarnings, where Rule-ZZZZ is a rule type.
Warnings are maintained as instances of the Index-Warning class and saved in the pr_index_warnings database table.

The standard decision tree rule Embed-Warning.pxWarningDetails controls whether warnings of a specific type are reported in the Application Preflight tool. By default, all are reported; you can override this decision tree rule to choose which to omit. This decision tree tests the property pxWarningType, which can have values indicating the source of the warning, such as:
=>    Java — an activity contains a Java step
=>    API 02 — an activity uses the Version 3 PublicAPI

=>    WriteNow — An activity step includes a method with an immediate database write operation rather than a Commit method.

work object ID.. how to create.. activites ued to create, or methods Work ID: | PEGA Questions

Work ID:
RULE-OBJ-ACTIVITY WORK- GENERATEID for Generates Work ID, The activity checks for the ID of the work object. If the ID doesn’t exist it gets a unique ID from the database and adds the History.
Create work object:
work objects can be created using Add, AddWork,New…

RULE-OBJ-ACTIVITY WORK- ADDWORK: Call this activity to create a new work object from a Utility or Post-Processing activity.  Prior to calling this activity create and populate a new work object page using createWorkPage then use it as the primary page to call this activity. Caller must commit changes using commitWithErrorHandling.

Different type of flows. Explain in scenario based where u used and worked | PEGA Questions

Spin-off, Split- Join and Split for each.

Default activity used to create work object | PEGA Questions

There is more than one like Add, CreateWork, and New.

table used for add note | PEGA Questions

ANS:- pc_data_workattach.

ticket: explain any senarion u used | PEGA Questions

Use the Ticket shape ( ) to mark the starting point for exceptions that may arise at any point in the flow, such as a cancellation. The ticket is a label for a point in a flow, much like a programming “GOTO” destination.

Notify | PEGA Questions

When you want to configure your flow to automatically send notification messages about assignments, connect a notify shape to the assignment. A notify shape identifies a notify activity.

In routing activity if i use workbasket name instead of work list name .. when can i know it is wrong (run time, complile time) | PEGA Questions

ANS:- Run time.

In Routing activity what is the default property used to route the object | PEGA Questions

pxRouteTo=Param.AssignTo =” work basket name”  for  work basket .s

For work list:

pxRouteTo =Param.Worklist=”true”   && Param.AssignTo =” pxRequestor.pyUserIdentifier”    for work list.

default data table where the instance of the class are store (how it will search ) pc_work | PEGA Questions

PC_ work

1.     Workbasket assignments are stored in a single pr_assign_workbasket table.
2.     Worklist assignments are stored in a single pr_assign_worklist table.
3.     The Work- base class is mapped to the pc_work table, a table with columns that represent all the work object properties that need to be exposed for flow processing to function correctly. Map your work object classes to either the pc_work stable or another table that has the same columns.
4.     The Data- base class is mapped to the pr_data table. Map your data classes to either the pr_data table or another table that has the same columns.
5.     all Rule related data will  be stored in pr4_pegarules.

6.    The pr_other table is the last resort or default destination for saved insstances that belong to a class that is not mapped to any other tables.

how can i store the instance of the class in the data base | PEGA Questions

Creating the separate DB table for that work class with in the DB, or map to external db and further saves will go to that DB.

How to see values of the local variables of the activity | PEGA Questions

ANS:- Using log-message.

Difference between obj-list, rdb-list? | PEGA Questions

ANS:- Obj-list : Retrieve to a page, read-only, a selected set of properties Import ant fields Obj-List:
RequestType: The Type of the browse; allows different processing or sets of properties to be defined.  Defaults to Standard.  Key-part to the Rule-RDB-SQL instance.

Access: An indication of the database package used to access this table, from the INI file (currently ODBC).  Key-part to the Rule-RDB-SQL instance.

ClassName: The object class on which the browse is performed.

Rdb-list: To Retrive   external Relational Database List.
Import tant fields in RDB-List:

PageName: Page Name indicating where the results will be put

ObjClass: The object Class to List.  When used with RuleObjList parameter, this is the class of the list to use.

How to store the instance of the class in a specific database

ANS:- Creating the separate DB table for that work class with in the DB, or map to external db and further saves will go to that DB

How to connect to different pega applications?

ANS:- Using SOAP, HTTP, JMS, MQ.

Performance of our work in the pega is measured using?

ANS:- 1. DBTrace: DBTrace is a feature in the Performance Analysis Tool (PAL) that creates a detailed log of calls to the PegaRULES database. DBTrace displays SQL statements sent to the database and the time spent for each operation.

PAL: This data is stored in “PAL counters” or “PAL readings.” PAL stands for Performance AnaLyzer, and is a collection of counters and timer readings, stored in the requestor, that an application developer could use to analyze performance issues in a system.

PAL Features
•    Add Reading
•    Add Reading with Clipboard Size
•    Reset Data
•    Save Data
•    Start DBTrace
•    DBTrace Options
•    Start Profiler
•    Show Graph
•    My Alerts

 Alerts:
During application processing, Process Commander writes to the performance alert log a sequence of text entries called alert messages that identify mainly performance-related issues or errors. The performance alert log is usually named PegaRULES-ALERT-YYYY-MMM-DD log.

AES:

Exceptions are processed in a similar way as alerts. When a Process Commander server generates exceptions they are sent by SOAP to the AES system. The system parses the exceptions and stores the records in the pegaam_exception table in the AES database. Based upon how often an exception occurs and the system events that triggered those exceptions, AES aggregates these records into work objects called AES exception items. These items are written to the AES database in the pegaam_exception_work table.

Inheritance concept in the pega (rules, class)

ANS:- Rules: inheritance that can maximize reuse of your rules while allowing localized overriding as appropriate. Also called polymorphism, inheritance allows a rule created for one class (possibly an abstract class) to be applied to other classes that inherit from it.

Class inheritance searches for rules from a concrete, lower class, up the class hierarchy to find available rules.

Two types of class inheritance — directed inheritance and pattern inheritances

Difference between obj-open and obj-open-by-handled

ANS:- Obj-Open  : we will get multiple records from  table  based  on the criteria  from the  specified  class. Or Opens an instance of a given class

OBJ-open-handle:  here we have have to pass the pzInskey  as a instance handle, this mehod will  open only  one record at time. Or  Open object by handle to the pzInsKey value
The handle of an instance is a unique key, in an internal format, assembled by the system that identifies an instance in the PegaRULES database. It may differ from the visible key generally used to identify instances. (Every instance has a unique handle, but more than one instance may share the same visible key.) For rule instances, the handle includes system-generated identifying values (including the create date and time) that make it unique.

Use the Obj-Open-By-Handle method only if you can determine the unique handle that permanently identifies which instance to open. Otherwise, use the Obj-Open method.

[UPDATED] 200 TOP PEGA OBJECTIVE Interview Questions and Answers

PEGA OBJECTIVE INTERVIEW QUESTIONS AND ANSWERS :-


1. HTML streams are subject to rule resolution. Is this statement true or false?
 A. TRUE
 B. FALSE
 C. Both A and B
 D. None of These
Ans: A

2. PegaRULES Process Commander standard harness activities and starting HTML streams are meant to work as-is, with links to built-in processing capabilities. For this reason, it is best not to overlay either the harness activity or the starting HTML stream. Is this statement true or false?
 A. TRUE
 B. FALSE
 C. Both 1 and 2
 D. None of These
Ans: A

3. A ___________ is a container for your application business logic, which is defined in rules.
 A. RuleSet
 B. Class
 C. Workflow
 D. TFlow action
Ans:  A

4. An Assignment is a task in a flow that requires user input and may assign the work object to an individual work list or workbasket. Is this statement true or false?
 A. TRUE
 B. FALSE
 C. Both 1 and 2
 D. None of These
Ans:  A

5. Rule resolution dynamically selects the right rule by searching your profile Rule set list across multiple dimensions, including purpose, class, rule set and version, date and time range, circumstance and security. ( True /False)
 A. TRUE
 B. FALSE
 C. Both 1 and 2
 D. None of These
Ans:  A

6. For System architect after estimating the ROI and successfactors what is the Step to do next(check this)
 A. develop test plans and results
 B. assist business presentation
 C. Financial validation
 D. Rule seizing tool
Ans:  A

7. In describing a Router, which of the following statement is false?
 A. Routers tell Assignments specifically where they should go.
 B. Routers are not required on every Assignment.
 C. Routers execute specific Activities.
 D. Many Routers of the same name may exist in a single Visio flow.
Ans:  A

8. Can we give audit not in utility
 A. Yes
 B. No
 C. Both
 D. None Of These
Ans:  A

9. Ticket shape represents
 A. Resume Execution
 B. Exception
 C. Notifying
 D. Calling another flow
Ans:  A

10. Related declarative rules can span Rule sets, but they must reside in the same class in order to be invoked appropriately by PegaRULES Process Commander. Is this statement true or false?
 A. TRUE
 B. FALSE
 C. Both
 D. None of These
Ans:  A

11. Related declarative rules can span RuleSets, but they must reside in the same class in order to be invoked appropriately by PegaRULES Process Commander
        A. TRUE
 B. FALSE
 C. Both
 D. None of These
Ans:  A

12. A _________ is a container for your application business logic, which is defined in rules
 A. Rule Set
 B. Class
 C. WorkFlow
 D. Flow action
Ans:  A

13. The property for the purpose of handle i.e., pzInsKey (which serves the purpose of primary key) is defined in following class
 A. @baseless'
 B. Data-
 C. History-
 D. Rule-
Ans:  A

14. Users of the PegaRULES Process Commander system are defined by
 A. access groups, access roles and operatorID's
 B. access groups, security groups and operatorID's
 C. a user class
 D. security groups and access roles
Ans:  A

15. Parameter Page can be referenced by which of the following keyword.
 A. Param
 B. Parameter
 C. Local
 D. Primary
Ans:  A

16. Utility activities cannot use which of the following methods
 A. Show-Html
 B. Obj-Save
 C. Obj-Open
 D. Commit
Ans:  A

17. Which rules automate the process of monitoring work completion and notifying the appropriate person when additional scrutiny or action is warranted
 A. Agents
 B. Service levels
 C. Flows
 D. When conditions
Ans:  B

18. In the ReportWizard, what does Data Source field contains for a Rule-Obj-SummaryView
 A. your Ruleset
 B. your work pool
 C. All work pools in the system
 D. Work
Ans:  B

19. Class Explorer is a tool that is available to system architects and system administrators only. Is this statement true or false
 A. TRUE
 B. FALSE
 C. Both
 D. None of These
Ans:  B

20. Which of the flow shapes are appropriate for defining the path of execution according to complex "if...then" logic?
        A. Utility
 B. Decision Tree
 C. Router
 D. Split for each.
Ans:  B

21. When we use Page-Rename method what happens, if the new name that we specify already exists in the clipboard
 A. It flags appropriate warning message
 B. System deletes that page and replaces with renamed page
 C. It keeps quiet without any action
 D. System renames the current page so that there will be two clipboard pages with same name.
Ans:  B

22. We know that if there are multiple instances with same visible key, rule resolution algorithm determines which one to return. If I want to explicitly specify the version I want (i.e. keeping the rule resolution algorithm aside), which of the following method need to be used?
 A. Obj-Open
 B. Obj-Open-By-Handle
 C. Obj-Open-By-Key
 D. Obj-Open-By-InsKey
Ans:  B

23. For most of the concrete classes, PRPC comes with a standard model called
 A. pyStandard
 B. pyDefault
 C. pyDefModel
 D. pyStdModel
Ans:  B

24. Declarative rules such as Rule-Declare-Expressions and Rule-Declare-Constraints can be specialized using circumstances.
 A. TRUE
 B. FALSE
 C. Both
 D. None of These
Ans:  B

25. Use a ___________ rule to convert one or two input values (text, numbers or dates) into a single resulting value, where the decision criteria fits a table or matrix structure
 A. Decision Tree
 B. Decision Map
 C. Decision Table
 D. Decision Trigger
Ans:  B

PEGA PRPC INTERVIEW QUESTIONS AND ANSWERS :-

26. What is the difference between activity methods Call and Branch?
 A. Branch transfers control to another activity and returns to original activity after called activity completes whereas call transfers control to another activity by terminating present activity
 B. Branch transfers control to another activity by terminating present activity whereas call transfers control to another activity and returns to original activity when called activity completes
 C. Both transfer control to another activity by terminating present activity
 D. Both transfer control to another activity and resume to original activity when called activity is completed
Ans:  B

27. There is property which stores the value of create date and time or create operator (perhaps for a work object). What is the prefix for these kind of properties
 A. py
 B. px
 C. pz
 D. ps
Ans:  B

28. Rules like Notify,Utility,Route belongs
 A. Rule-HTML-Property
 B. Rule-Obj-Activity
 C. Rule-Obj-Flow
 D. Rule-Declare-Onchange
Ans:  B

29. We use Rule-HTML-Property
 A. To display a property on a harness, harness section or html
 B. To display a property in a particular format
 C. It is not used in the HTML
 D. None of These
Ans: B

30. Which of the following type of standard properties cannot be tailored when you are customizing application in your own rule set. In other words, which of the following type of properties can not be saved as to our class/ruleset
 A. px
 B. py
 C. pz
 D. None of These
Ans: C

31. For creating tabbed look,which rule is considered
 A. Section
 B. Property
 C. Harness
 D. None of These
Ans: C

32. Which tool is used by the user to check for the Parameter values in the flow?
 A. Parameter Page
 B. Rules Inspector
 C. Tracer
 D. Clipboard
Ans: C

33. Which of the following tools would you use to view the HTML associated with the fragment?
 A. Class Explorer
 B. Look Up Rules
 C. Inspector
 D. Image Catalog
Ans: C

34. According to SmartBuild, what is the appropriate order to design/develop the following elements?
 A. User Interface, Properties, Class Structure, Process Flows
 B. Class Structure, Properties, User Interface, Process Flows
 C. Class Structure, Process Flows, User Interface, Properties
 D. Properties, Class Structure, User Interface, Process Flows
Ans: C

35. How many declarative standard rules are there in PRPC?
 A. 2
 B. 4
 C. 8
 D. 5
Ans: C

36. In a Declare-Expression rule, If I want to use an expression, which contains expressions, function calls, constants etc. Which of the following to be used.
 A. Expressions that calls themselves and contains constants
 B. Expressions that calls Circular expressions
 C. Expressions that calls Rule-Utility-Function
 D. Both a and b
Ans: C

37. While using a Page-Copy method, what happens if system does not find the destination page (copy into page) in the clipboard
 A. It flags appropriate warning message
 B. It keeps quiet
 C. A new page with destination page name is created and properties are copied from source page to destination page
 D. An alias name with destination page name is created to source page itself, so that you can refer source page with both names.
Ans: C

38. What happens when we call Page-Remove followed by Commit method?
 A. It removes the clipboard page and contents of database are also changed accordingly
 B. It changes contents of database only
 C. It removes only clipboard page
 D. It neither removes clipboard page nor changes the contents of database
Ans: C

39. Given the Rule-Obj-WorkParties definition above, which of the following roles would show up by default when a user creates a new work object?
 A. Customer and Originator
 B. Only Customer
 C. Customer, Originator, and Interested
 D. Customer and Interested
Ans: C

40. Which of the following rules should not be maintained by business users/process architects?
 A. Rule-Declare-DecisionTable
 B. Rule-Obj-FlowAction
 C. Rule-Edit-Input
 D. Rule-Obj-Validate
Ans: D

41. A ___________ is a container for your application business logic, which is defined in rules.
 A. Work flow
 B. Class
 C. Rule set
 D. Flow action
Ans: C

42. A Process Flow has been designed that routes an assignment to a workgroup manager. An additional requirement is that the manager be able to attach a budget spreadsheet to the assignment before approving the assignment. This is best accomplished using a:
 A. Rule-Template-Excel instance
 B. Local Assignment
 C. Connector Flow Action
 D. Correspondence Rule
Ans: D

43. Where .PropertyName is the name of a property, which of the following is the correct syntax for a property reference directive that would allow the user to assign the property value?
 A. (.PropertyName INPUT)
 B. <.PropertyName INPUT>
 C. [.PropertyName INPUT]
 D. {.PropertyName INPUT}
Ans: D

44. __________ control the user experience - the forms and their appearance, content and behavior.
 A. Properties
 B. Security levels
 C. Work Objects
 D. Harness
Ans: D

45. The portal layout for group of users can be generally controlled from which of the following
 A. Organization
 B. Division
 C. Unit
 D. Access Group
Ans: D

46. Which of the following directives 'comments out' authoring notes in a PegaRULES Process Commander HTML object?
 A. /* This is a comment */
 B. // This is a comment
 C. {COMMENT This is a comment /}
 D. {COMMENT} This is a comment {/COMMENT}
Ans: D

47. Which of the following statement best describes Directed Web Access?
 A. A rule to distribute calls that works in conjunction with CTI (Computer Telephony Integration).
 B. Anyone with access to the corporate intranet on which PegaRULES Process Commander is available, can process an assignment, on a one-time or infrequent as-needed basis.
 C. Anyone with internet access and the appropriate security credentials can process an assignment, on a one-time or infrequent as-needed basis.
 D. Anyone accessing the World Wide Web (or an intranet) and e-mail can process an assignment, on a one-time or infrequent as-needed basis.
Ans: D

48. Which of the following violates a SmartBuild best practice regarding flow design?
 A. An Assignment with three Connector Flow Actions and four Local Flow Actions
 B. A flow that calls more than two sub flows
 C. A flow with four utility shapes linked together
 D. A flow that spans multiple Visio pages
Ans: D

49. List some of the standard connectors that come with PRPC , which enable it to connect to external systems? (choose)
 A. Rule-Connect-EJB
 B. Rule-Connect-JMS
 C. Rule-Connect-Java
 D. All of These
Ans: D

50. User created using application accelerator will have default password as
 A. Install
 B. Pega
 C. Default
 D. Rules
Ans: D