Skip to main content

Table of Contents

Retrieving a Custom audit and display

To retrieve a custom audit and display, complete the following steps.

  1. Create a section CustomAudit (PegaPS-Work-ICM) to display the audit.

    This section should have CustomAuditDetails (History-Work-) in a repeating dynamic layout, whose source is the datapage D_WorkHistory that displays the details of the audit.

  2. D_WorkHistory uses the activity GetWorkHistory (Code-Pega-List) as a data source. This activity calls GetWorkHistory (History-Work-), which has the parameter CaseInstanceKey. In this activity, pyReportClass is generated by appending History- to CaseInstanceKey if it is not null else, it will be History-Work-. In this activity, call either the GetWorkHistory or GetWorkHistoryWithLatLong report definition, based on the when rule pyIsLatLongExposed.

  3. In the GetWorkHistory and GetWorkHistoryWithLatLong report definitions, add an addition filter condition to retrieve rows based on the column pyMemo when it is not null. Note that the pyMemo column is null by default.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us