PRPC Reporting
PRPC Reporting
PRPC Reporting
2008, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice.
Topics to be discussed
Basic Introduction Various kinds of reports List/Summary/Charts/Report Definition Pega OOTB reports Steps to develop reports Various tabs in Reports Customization Options Advanced Best Practices for Pega Reports development Dos and Donts Performance considerations and Optimization Data Archiving and Purging
Confidential
Introduction
PRPC provides the capability for business managers to view real-time as well as historical reports to measure and manage business process performance, leading to better return on investment with the BPM system. Two rule types list view rules and summary view rules support most reports and charts produced in Process Commander applications. These powerful and flexible rules can support user interactions as well as management reporting needs. Report definition rules provide power, flexibility, and ease-of-use for report designers and report users, these rules are intuitive, provide an all-in-one-page design interface, intelligent defaulting and pre-defined reusable report elements
Confidential
Charts:
Charts display the data from a summary report as a pie, bar, column, area, or line chart.
Confidential
Confidential
Confidential
Step 1: Start
Select Summary view or List View, Wizard mode and Report source -
Confidential
Confidential
Confidential
Confidential
10
Step 5: Finish
It shows the details. Click finish button to view the report.
Confidential
11
Preview
Preview of the generated report
Confidential
12
Confidential
13
Confirmation screen
To check generated view definition, run the view and delegate view if required
Confidential
14
Run Report
On clicking on the Run the view link
Confidential
15
Result screen
Report result
Confidential
16
Confidential
17
Format
Parameters Pages & Classes Join HTML History
Charts
Parameters Pages & Classes Join HTML History
Confidential
18
Confidential
19
Confidential
20
Confidential
21
Confidential
22
Confidential
23
Confidential
24
Confidential
25
Confidential
26
Confidential
27
10. History
The Full Description text becomes a report title.
Confidential
28
Selectable
This enable users at runtime to select one or more rows of an embedded list view display and operate on the selected row or rows. This capability requires that the list view display be embedded in a section
Organize
In the Organize tab of List view there is an option for paging. We can select the Paging option to present the list view results in segments known as pages each containing a fixed number of rows. Paging causes the system to retrieve rows to only a segment at a time on request, improving response time and reducing the size of the clipboard. When we mention a value like 200 in the page size, then the max value given in the Content tab gets ignored.
Confidential
29
Confidential
30
Customization options
We can customize Pega reports by modifying the getContent activity as per our requirement; for example - Pega generates predefined SQL statements i.e. if we use Contains/Starts With/Ends With in the filter criteria then in all these cases it uses LIKE keyword, but if we want to use IN keyword in our SQL then we have to modify the SQL in getContent activity.
Using HTML properties for calculation other than aggregate functions such as Min, Max, Sum, Count, Average; like percentage calculation or displaying user name other than user id.
Confidential
31
Customization options
Final report display -
Confidential
32
Report Definition
Rule to define a report or a personal version of a report.
Report definition rules define reports of two types: Summarized reports Contains data that is summarized using one of the following built-in functions: COUNT(), SUM(), AVG(), MIN(), and MAX() List-type reports Detailed data for individual work objects or other class instances.
33
Report Definition
Identify the class that this rule applies to
34
Report Definition
Helps to execute the report
Allows to select an existing SQL function template to use as the basis for the SQL function you wish to use.
35
Report Definition
36
Report Definition
Used to manipulate the report in various ways. You can hide the entire command ribbon, or enable/disable any specific commands. You can also hide the right-hand command menu for column headings in the Report Viewer.
37
Report Viewer
Tool used to manipulate report New columns can be added as required Filter condition could be modified To create chart at least one of the columns in the report must be a summarized column
38
Report Viewer
39
Generating PDF
In order to display report in PDF format call the following methods in Activity Rule-Obj-ListView.ViewAsPDF Rule-Obj-ListView.AttachAsPDF Rule-Obj-SummaryView.ViewAsPDF Rule-Obj-SummaryView.AttachAsPDF
40
Report Browser
Browse and search for existing reports available Create new reports and modify copies of existing reports Use a library of SQL functions to build powerful expressions to return exactly the data your report needs Share report shortcuts Re-organize reports within categories Export reports to spreadsheets or as PDF files
41
Report Browser
Three report category types: Personal type These categories contain shortcuts to reports that you created for your own personal use. They are accessible within the Report Browser only by you. They only appear in report search results for you. When you create a new report in the Report Browser, it becomes part of one of your personal categories. You can later add shortcuts to it in your shared categories. Shared type Users create shortcuts to reports they wish to share with colleagues, and place those shortcuts in their Shared categories. The immediately become available to colleagues in the user's access group. Standard type Application developers create or identify Standard reports. These are available to all work managers of an application.
42
Report Browser
Click the Run icon and select Open Portal > Manager. Select the Monitor Activity area of the portal
43
Report Browser
In order to create a new report first you need to create a personal category
Data Type: The data type the report will cover. Report Name: Used to specify the report name. Report Title: Provide a display title for the report. Report Description: Add a description to distinguish this report from others with similar names. Report Category: Select a category for the report.
44
Advanced Topics
Confidential
45
Confidential
46
Confidential
47
2. Use list-based reports support operational needs. Reports that support first-line and second-line managers in their work typically emphasize currency and speed rather than complex layouts, complex calculations, or complex formats. Use the Report wizard or list view rules to meet operational needs for near-real time data.
Confidential
48
Execution of a list view or summary view rule requires processing by both database software and Java programs. It is important to maximize use of database software, and reduce the JVM workload. Although SQL processing is limited to exposed properties, utilize SQL selection and sorting over JVM sorting in your reports when possible. 4. Declare Index rules can help. Exposed columns correspond to properties at the top-level of a saved object. Properties within a repeating group or embedded page are not exposed. In many such situations, a Declare Index rule can support a new index structure that directly supports a reporting need. 5. Database views can help .A database view can simplify reporting, especially with properties from two or more classes that are in separate class groups. 6. Use a reports database , Using a reports database reduces the processing demand of reporting on the production PegaRULES database, and allows your database administrator freedom to implement optimizations for reporting access that do not affect application processing
Confidential
49
Use BIX (Business Intelligence Exchange) for additional reporting needs ,BIX allows rapid data extraction from the PegaRULES database, for later import into a data warehouse or other reporting facilities.
8. Excel formulas or macros can help ,Reports from Process Commander are based on a single pass over the row details. Averages, trends, maximum values, and minimum values can be computed in a single pass. Many other computations require multiple passes or multiple sorts. As Process Commander reports can be exported to Excel for printing and advanced formatting, consider using Excel for such final computations. 9. List view and summary view reports work best with 10,000 or fewer retrieved rows.If your business requires reporting on larger numbers of rows, consider using the Business Intelligence Exchange facility to export data from the PegaRULES database into a data warehouse.
Confidential
50
Confidential
51
Confidential
52
To archive the old work objects, system administrator can schedule an agent or script which will copy the old work objects and related reference objects from Production DB to archive DB. The schema of these two DBs must be same. The archiving process interval is decided by the business and application owner.
2008, Cognizant Technology Solutions. Confidential
53
Thank you
Confidential
54