Friday 10 May 2013

Pega Certification Questions

  1. What is the difference between Page-Validate and Property-Validate methods? 

    Page-Validate method is used to validate all the properties present on a page. If a page has embedded pages, this method works recursively to validate all the properties. This method consumes lot of system resources and takes more time. If you want to validate specific properties use Obj-Validate method with Rule-Obj-Validate rule.  
    Property-Validate method is used to impose restrictions on a property value. Use Edit validate rule along with Property-Validate method to impose restrictions. You can validate multiple properties using Property-Validate method.
  2. What is difference between Edit validate and Edit Input rules? 

    Edit Validate : Use edit validate rule to validate the property value using java code. Edit validate rules can be used property-validate, Rule-Obj-Validate and Property rules.
    Edit Input : Edit input rules converts user entered data into required format. For example is the user enters date MM/DD/YYYY format, edit input rule coverts this date into DD-MMM-YYYY (required format). Again we need to write java code for this transformation.
  3. Where assignments will be stored in pega rules database?

    Work List related  assignments are stored in pc_assign_worklist.
    Work basket related assignments are stored in pc_assign_workbasket.
  4. Where work objects will be stored ?

    Work Objects are stored in 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 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.
  5. If I have 3 different work objects in my application, how to store them in three different tables?

    Open/Create the Data-Admin-DB-Table 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.
  6. What is StepStatusGood, StepStatusFail rules?

    StepStatusGood is a when condition defined in @baseclass, this when rule checks whether the value of pxMethodStatus property is "Good".
    StepStatusFail is a when condition defined in @baseclass, this when rule checks whether the value of pxMethodStatus property is "Fail".

No comments:

Post a Comment