Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Retrieving a Custom audit and display

Updated on January 18, 2021

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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us