Skip to main content
LinkedIn
Copied!

Table of Contents

Extending Custom audit and Timeline

You can extend the Custom audit and Timeline controls to other cases by performing the following steps.

Custom audit can be written to the cases by mentioning the audit messages on the connector’s Audit note. You can also write the audit on the utility’s Audit note.
  1. Use the activity AddAuditTrail (@baseclass) to write the audit to a case out of its context. Pass the following parameters for the AddAuditTrail activity:

    • Class – the class of the case
    • MessageKey – the audit message
    • pyID – the pyID of the work item
    • insKey – the pzInsKey of the work item
    • IsCommit – whether a commit is required
  2. Specify where you want to display the audit with the CustomAudit (PegaPS-Work-ICM) section.

  3. To modify the presentation of the audit, update the CustomAudit (PegaPS-Work-ICM) and CustomAuditDetails (History-Work-) sections.

  4. Specify where you want to show the timeline view of the case with the TimeLine (PegaPS-Work) section.

  5. To display additional fields or to change the view, update EvenSection (History-Work-).

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