Newer Version Available

This content describes an older version of this product. View Latest

Prerequisites

Before subscribing to change events with an Apex trigger, set up debug logs and select the Account object for notifications.

Set Up Debug Logs

To obtain debug logs for change event trigger execution, set up debug logs for the Automated Process entity.

  1. From Setup, enter Debug Logs in the Quick Find box, then select Debug Logs.
  2. Click New.
  3. For Traced Entity Type, select Automated Process.
  4. Select the time period to collect logs for and the debug level.
  5. Click Save.

Enable Change Notifications for the Object

On the Change Data Capture page in Setup, enable change notifications for the Account object. See Select Objects for Change Notifications in the User Interface.