PRPC Interview Questions

  1. 1. Differentiate Obj-browse, Obj-List-view
  2. Obj-browse:
    1. Better performance
    2. Selects list of records based on exposed columns as where clause
    3. Doesn’t have joins
    4. Create it wherever required

    1. Less performance when compared to Obj-Browse
    2. Selects list of records based on exposed columns as where clause
    3. Has joins
    4. One time creation and call wherever required

  3. Difference between Obj-List-View and Obj-Summary-View
  4. ListView

    1. Pagination: Listview has pagination

    1. Doesnt have pagination
    2. Has Group By
    3. We can drill down through report
    4. can call ListView, Summaryview from SummaryView report
    5. Can perform Aggregate function operations like Count, Count Distinct, Sum, Average, Max, Min
    6. Thresholds-If this summary view rule is to present an interactive chart and you want the chart to include color-coded ranges, define them here.
    7. We have chart functionality

  5. What is the use of pyDefault model
  6. We can specify in process tab of flow form so that when work object creates it will apply default values to work objects. It is used as constructor in Java to initialize work objects.

  7. How do you set privilege for flow action
  8. We do have 2 methods to set privilege. More can exist as well.

    First method:Specify “When rule” in Security tab of flow action form.
    In that when rule we can give condition based on access group
    Second method: Specifying class group

  9. Difference between forke and decision shape
  10. Forke is used to implement simple when rules where as decision shape is used to implement decision table and decision trees.

  11. How to create a screen flow
  12. 1. To make a screen flow, create a new flow rule and select ScreenFlow in the Template field.
    2. A screen flow rule cannot be a starter flow rule. Use a regular flow to create the work object. Then call the screen flow as a subflow.
    3. The standard harness rule Work-.Perform ScreenFlow is by default used to present the assignments in a screen flow rule. You can override this rule; the standard harness rules Work-.Tabbed ScreenFlow and Work-.TreeNavigation provide alternative presentations.
    4. A screen flow rule must have at least one task marked as entry point. Typically, screen flow rules have multiple tasks marked as entry points; these are places in the flow that a user can return to using the Back button.
    5. A screen flow can operate on a temporary work object, one that is never saved to the database.

  13. Differentiate screenflow and a standard flow
  14. Screenflow

    1. Cannot be a starter flow
    2. Only One operator is involved (cannot route to other operators)

    Standard Flow

    1. Can be a starter flow
    2. More than one operators can be involved

  15. Name a few types of flows and uses
  16. 1. A flow rule that contains no assignments, and so can execute from start to end without human input, is known as a straight-through process.
    2. A flow rule that consists only of assignments or decisions and meets other criteria is known as a screen flow.
    3. A flow that creates a new work object is called a starter flow.
    4. A flow that is called by another flow is known as a subflow; the calling flow is called parent flow. Processing of a subflow is synchronous, meaning that the calling flow execution pauses for the duration of the subflow. When the subflow execution reaches a Flow End shape, the calling flow can continue (if additional tasks are present).

  17. Types of flow action
  18. A flow action is a choice available to users as an interim or final disposition of an assignment they process. Each flow action is defined by an instance of the Rule-Obj-FlowAction rule type.
    Flow actions are of two types: 1. Connector flow actions appear as lines on Visio presentation in the Diagram tab of a flow rule. A line exits from an assignment shape and ends at the next task in the flow. At runtime, users choose a connector flow action, complete the assignment, and advance the work object along the connector to the next task.
    2. A local flow action, when selected at runtime, causes the assignment to remain open and on the current user’s worklist. Local flow actions are recorded in the Assignment Properties panel and are not visible on the Visio flow diagram.
    For example, consider an application that supports workflows for employee recruiting. When performing an assignment that requires the employee to assess the quality of a candidate (based on a resume and application form), the employee records his judgments and reasons in the application, and then chooses one of three flow actions labeled Advance, Reject, and MoreInfo. These flow actions may require different input fields and may use different form displays.
    When creating a flow that includes connector flow actions, developers can associate a likelihood value or percentage between 1 and 100 for each. Typically this is a before-the-fact opinion about the estimated percentage of times users are expected to choose that flow action at runtime.

  19. How do you refer a clipboard page from Java Step in an activity?
  20. In activity steps, myStepPage is the object of class ClipboardPage. It refers to the page that was defined as the step page for that particular step.
    We can use something like:


  21. px, py and pz what are these prefixes meant
  22. Standard property names are prefixed with px , py , or pz . Your property names must not start with these prefixes. The table below describes each of these prefixes.

    px : Computed properties that users may see on a form, but users cannot directly enter or change values (such as pxCreateDateTime).
    py : Properties that users can enter or change with direct input (such as pyDescription).
    pz : Properties that are reserved for internal use (such as pzInsKey). Users cannot see, enter, or change pz properties.

  23. how to create work parties from an activity?
  24. We can use

    work- addWorkObjectParty

Posted in Pega Alerts, Technology | Tagged , , | Leave a comment

Where are assignments stored in Pega rules database

In a PRPC database,

Work List related assignments are stored in pc_assign_worklist.
Work basket related assignments are stored in pc_assign_workbasket.

Posted in Pega Alerts, Technology | Leave a comment