thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Business Platforms & EA · Advanced

Trigger Handler Pattern

Design pattern placing trigger logic in a handler class, with one logic-less trigger per object.

Definition

Handlers make logic testable and orderable, allow bypass mechanisms and help prevent recursion. Frameworks route context events to methods like beforeInsert and afterUpdate.

Exam tip

One trigger per object is recommended because multiple triggers have no guaranteed order.

Related terms