Triggers for Object Event Handlers

Using the process designer, you can associate an event handler with a standard or custom object and a create, update, or destroy action.

After adding an event handler to the process designer, you must specify how the event handler will be triggered. Only event handlers specifically written for the object type and action can be selected when making these associations.

Object event handlers can also be triggered by rules, surveys, and campaigns when the conditions you specify are met. For information about using event handlers in rules, see Actions for Rule Bases.

Note: Only object event handlers written for contacts can be used in surveys and campaigns.

You can also use the process designer to associate event handlers with create, update, or delete actions performed on standard and custom objects. When the action occurs on the associated object, the event handler is triggered automatically. The event handler must be written to work with the associated object and action.

For example, this Example of an Object Event Handler Script is triggered when organizations are created.