Associate an Event Handler with an Object

Use the process designer to associate object actions with event handlers.

  1. Click Configuration on the navigation pane.
  2. Expand Site Configuration, then double-click Process Designer.
    The process designer opens on the content pane.
  3. Select the custom or standard object that you want to associate with the object event handler from the tree.
    Note: By design, custom process error logging always executes with full permissions. It isn't associated with the profile permissions of the account whose operation triggered the process.
    The Custom Event Handlers editor opens on the content pane and the drop-down list in the column that is associated with the PHP code file is activated.
  4. Click the drop-down list in the applicable column (Create, Update, or Destroy) and select the object event handler that you want to associate the object with.
  5. To allow the object event handler to be suppressed from the SuppressExternalEvents processing option that is part of Connect Web Services for SOAP and the Connect PHP API, select the check box in the Can Suppress column.
  6. Click Save.

What to do next

Before you can use the object event handler, the process model must be tested and deployed. See Deploy the Process Model and Roll Back the Process Model.