Pega remove duplicates from activity and data transform

How can we remove duplicates from a Page-List?

Byusing Pega functions like “RemoveDuplicatesInPageList”, pzRemoveDuplicatesFromListPage and pzRemoveDuplicatesFromListPage
We can use both the functions in Data Transform and Activity.





Advertisement

How to call a report definition in an activity? pega

Call Report definition in an activity

By using “Call Rule-Obj-Report-Definition.pxRetrieveReportData activity and passing Parameters Param.pyReportName, Param.pyReportClass, and Param.pyPageName in Property-Set method before calling the activity


Advertisement

Pega client and server side validation

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.

Pega Edit validate and Edit Input

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.

Pega filter report definition results using custom section

How can we filter the report Definition results by using a custom section on the report?
Need to create a custom filter section and reference that in the “Report Viewer” tab of Report Definition rule.
Need to select “Display Filters using custom sections” check box.

Pega Join types in report definition

We have different JOIN types in the Pega report definition.

 INNER JOIN, LEFT OUTER JOIN, and RIGHT OUTER JOIN.
From Data Access tab of Report Definition in Class joins a section

Only Include Matching Rows        =   INNER JOIN
Include All Rows in this class        =   LEFT OUTER JOIN
Include All Rows in Joined Class   =  RIGHT OUTER JOIN

Pega join types



Pega Ruleset

What is the order in which the Rule setlist is constructed?
Requestor, Organization, Division, Access Group is the order in which this list is constructed.
In the access group, the Application rule setlist is at the bottom and the Production Ruleset is on top of it. It follows Top-down approach.

Pega Rule delegation

Explain about Delegating a rule?
A delegated rule is one that appears for a specific group of users so that they may manage these rules outside the development environment. Delegated rules appear on the My Rules gadget for a single user or for all the users who are associated with a specific access group.
An application user who has the PegaRULES: WorkMgr4 access role can update the leftmost tab of existing rules that may change frequently.