Creating a custom business report
Archived
3 Tarefas
15 min
Beginner
Pega Platform 8.6
Reporting
Inglês
Scenario
Stakeholders would like to know the number of cases that have been requested over the past month. You have been asked to define a report to track the status of Assistance requests over the last 30 days. Create a report category for Assistance request cases, then create a report definition in the Assistance request category that displays the number and status of requests submitted in the past 30 days.
Nota: Before you begin, generate 10-15 case instances with varying case statuses.
The following table provides the credentials you need to complete the challenge.
Role | User name | Password |
---|---|---|
Application Developer | author@gogoroad | pega123! |
Nota: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.
Challenge Walkthrough
Detailed Tasks
1 Create a public category for report definitions
- In the User Portal, click Reports to open the Report Browser.
Dica: To display the User Portal, click Preview application in the header of App Studio.
- In the Report Browser, from the Actions menu, click Manage Categories.
- Click New category to display the Create new category dialog box.
- In the Create new category dialog box, in the Category name field, enter AssistanceRequestReports to name the report category.
- In the Category description field, enter Reports related to Assistance request cases to describe the purpose of the category.
- Confirm that the Category type is set to Public.
- Click Submit to dismiss the dialog box and create the report category.
2 Create a report to display the number and status of requests submitted in the past 30 days
- Click Back to reports to return to the Report Browser.
- In the Report Browser, click New report to display the Create new report dialog box.
- In the Create new report dialog box, from the Case type drop-down, select Assistance Request to display only Assistance request cases in the report results.
- From the Report type drop-down, select Summary or Chart to create a summary report.
- Click Submit to create the report and display the Report Editor.
- In the Data Explorer pane, click the Label field.
- Drag the Label field into the columns in the Report Editor by positioning the pointer to the left of the Entered on column to add the Label column as the first column in the report.
- In the Filter section of the Report Editor, click Created in Last 7 Days to open the Edit filter window.
- In the Edit filter window, click Select values to display the Select values dialog box to select the time period used in the filter.
- In the Select values dialog box, click Last 30 Days to change the comparison in the report filter.
- Click Submit to complete the configuration of the filter and return to the Edit filter window.
- In the Edit filter window, in the Filter Caption field, enter Created In Last 30 Days to provide a descriptive label for the filter.
- Click Apply changes to complete the configuration of the filter and return to the Report Editor.
- To the right of the Unresolved Case link, click the X icon to remove the filter from the report.
3 Add a clustered column chart to the report
- Click Add chart to display a window to create a chart for the report.
- In the window, click the Column icon and select Clustered to create a clustered column chart.
- From the Available columns list, click Total and drag the pointer into the Drop Aggregate column here drop zone to add the column to the Y-Axis of the chart.
Dica: When your mouse is properly placed within a drop zone, a green checkmark is displayed.
- From the Available columns list, click Entered on and drag the cursor into the Drop Group By column here drop zone to add the column to the X-Axis of the chart.
- From the Available columns list, click Status and drag the cursor into the Drop Any column here drop zone to add the column to the chart.
- Click Apply changes to complete the configuration of the chart and return to the Report Editor. The Report Editor displays a preview of the report.
Dica: The Report Editor provides a preview of the report using actual case data. If you have not created any cases, click the Simulated data switch to display simulated data in the report preview.
- Click Done editing to complete the configuration of the report and display the Save report as dialog box.
- In the Save report as dialog box, in the Title field, enter Number and status of requests submitted in the past 30 days.
- In the Description field, enter Requests for the past 30 days summarized with a chart to describe the report for users.
- From the Category drop-down, select Reports related to Assistance request cases to assign the report to the public category you created.
- Click Submit to complete the configuration of the report and view the report results.
- Click Reports to return to the Report Browser. The report is displayed as a tile in the Report Browser.
Confirm your work
- In the User Portal, in the Report Browser, click the Number and status of requests submitted in the past 30 days tile to open the report. The report is displayed with results similar to the following example.