Pega - Real time Interview Q&A - 1

Where assignments will be stored in Pega rules database?

Work List related assignments are stored in pc_assign_worklist.

Workbasket related assignments are stored in pc_assign_workbasket.

Where work objects will be stored?

Work Objects are stored in the pc_work table by default. However, if you want to store the work objects in a user-created table, follow the below-mentioned steps.

Create a schema similar to the pc_work table. (The best thing is to copy the pc_work schema and modify the table name and constraints name if any)

Change the class group mapping (Data-Admin-DB-Table) to the newly created table.

If I have three different work objects in my application, how to store them in three different tables?

Open/Create the Data-Admin-DB-Table an instance for each class and mention the table name. By doing this the individual work objects will be stored in the new table you mentioned in the Data-Admin-DB-Table instance. This is a best practice if there too many object instances for each class.

How to make any rule a favorite to your manager?

Delegate the rule to the manager.

Where can I see the parameter values in the clipboard (values) I am passing one activity to another?

No, it is not possible in the clipboard, but you can see in tracer by clicking the page the name which in step method column.

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

pxRouteTo=Param.AssignTo =” workbasket name” for workbasket.

For work list:

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

Ticket: explain any scenario you used

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

Default activities are used to create work objects. there is more than one like Add, CreateWork, and New.

How to restrict the harness, section to a particular user.

Using the circumstances or using different access groups and privileges

Operator ID instances are normally stored in the PegaRULES database

pr_operators table. Operator IDs are the instances of Data-Admin-Operator-ID class

 Why external authentication checkbox is required in the operator?

It will be used to provide access for external users (end users) to accessing the application. For example End-users will not directly access the Pega application, suppose they want to access the Pega application through interfacing with a third-party tool. SSO authentication.

How many access groups can be associated with an operator at once?

Only one access group at a time, but one operator will have multiple access groups in their operator id instance.

What is the default access role used by developers?

  Pega rules SysAdmin4

Different types of classes that PRPC support.

We have different types of Standard Classes will be available which are,

@baseclass is the Ultimate base class, And Its Child Classes are work-, Data-, Rule-, Assign-, History-, etc.

Pega always Support 2 types of classes 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 Concrete Classes will create Work object instances

How many types of portals does PRPC can provide? Where will you specify the portals that u have created?

Composite portals, fixed portals, Custom portals, mobile portals after creating a portal it will specify in the Access group Settings tab, and then it will access the particular user.

Different types of the harness that u have used?

We have a number of the standard harness will be available in Pega, but most commonly used are new, perform, review, conform, Tabbed, perform screen flow, Tree Navigation

If I want to restrict a user to perform on a particular flow action, how can I achieve it?

We can specify the privileges or when conditions in the Security tab of the flow action.

How can u expose a property?

By using the modified Database schema or optimize for reporting option

Modifying database Schema-à Select Data base Select Table-à View Columns Select Columns Give Database username& password and the Click Generate

Optimize reporting means right-click on the property and select the optimize for reporting

Mention the flow types?

Process flows, Screen flows, Sub flows, Straight through process flows.

What are all the different types of scope that Data Page provides?

Node, Thread, Requestor

What is an Agent?

An agent is an internal background process operating on the server that runs activities periodically.

What is a Service Level Agreement (SLA)?

A service level rule is an instance of the Rule-Obj-ServiceLevel type. Each service level rule defines one to three-time intervals, known as goals, deadlines, and late intervals, that indicate the expected or targeted turnaround time for the assignment, or time-to-resolve for the work object.

The goal time is the smallest time interval, the deadline time is a longer interval, and the late interval defines post-deadline times. Each time interval is in days, hours, minutes, and seconds.

What are the types of SLA? Where they can be defined?

Service level rules can be associated with a work object or an assignment.

For assignments, the service level rule is referenced in the Assignment Properties panel of the assignment 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.)

What is a Flow Action and different types of Flow Actions we have?

A flow action rule controls how users interact with work object forms to complete assignments.

Each flow action is defined by an instance of the Rule-Obj-FlowAction rule type.

Connector Flow Action

Local Flow Action

What is the Difference between Connector Flow Action and Local Flow Action?

A local flow action permits users at runtime to update, but not complete, an assignment. Local flow actions always are optional. Users may perform none, one, or multiple local flow actions, or repeat a local flow action multiple times.

At runtime, users choose a connector flow action, complete the assignment, and advances the work object along with the connector to the next task.

What is the Property?

A property is an instance of the Rule-Obj-Property rules type.

Property defines and labels a value that can be associated with a class.

For instances contained in the database, a property often corresponds to a relational database column.

 Difference between Rule-Edit-Input and Rule-Edit-Validate?

Edit input rules are instances of the Rule-Edit-Input class. They are part of the Property category.

An Edit Input rule provides a conversion facility.

Edit validate rules are instances of the Rule-Edit-Validate class. They are part of theProperty category.

Use the Edit Validate form to define a Java routine that tests the validity of an input value in an activity.

Consider this scenario: I have a property of type decimal; I need to restrict it to two decimal places only. How easily this can be done.

By using a qualifier “pyDecimal Precision” under Qualifiers tab.

What types of validations are there?

a.      Client Side Validations

If you want to validate properties before submitting the forms, those validations we can call client-side validations.

b.      Server Side Validations

If we want to validate properties after submitting the forms, those validations we can call a server-side validation.

Explain the Activity-End method?

Use the Activity-End method to cause the system to End the current activity and all calling activities.

Ex: if Alpha calls Beta, which calls Gamma, which calls Delta, which performs the Activity-End method, all four activities will be END.

Explain the Exit-Activity method?

The Exit-Activity method ends the current activity and returns control to the calling activity.



No comments:

Post a Comment