Enable the Cache Management Trigger

Enabling the CacheAPI.CacheManagement trigger is a prerequisite for using the Regenerate Cache APIs.

  1. From Setup, in the Quick Find box enter Custom Settings.

  2. Click Custom Settings. The Custom Settings page appears.

  3. Click T in the index across the top of the page and navigate to Trigger Setup.

  4. Next to Trigger Setup, click Manage. The Custom Setting page for the Trigger Setup appears.

  5. If the trigger doesn't exist, click New. If it does exist, click Edit beside the name. The Trigger Setup Edit page appears.

  6. If you clicked New in the previous step, in the Name field, enter CacheAPI.CacheManagement.

  7. Make sure Trigger On is selected.

  8. Click Save.