Introduction

Configuration

Before implementing a new trigger pipeline, assign the permission sets below. They control who the framework runs for, not what it does. The pipeline and handler configuration itself lives in custom metadata, covered in Trigger Framework.


Permission sets

Permission setAssign to
Trigger_Framework_AccessEvery user who should run any trigger pipeline built on the framework.
Trigger_Framework_AdminAdmins who maintain Trigger_Pipeline__mdt and Trigger_Handler__mdt records.

Bypass groups

Assign the Exclude_User permission set group to any integration user that automation should never run for: data loads, migration users, and similar service accounts.

Exclude_User grants the Exclude_Trigger and Exclude_Flow custom permissions. A handler opts into the trigger bypass with FeatureManagement.checkPermission('Exclude_Trigger') inside shouldExecute(); see Creating a handler. A flow checks Exclude_Flow the same way, using a Decision element at the top of the flow.

Bypass is opt-in per handler

Assigning Exclude_User does nothing on its own. Each trigger handler and flow must explicitly check the corresponding custom permission. That check is not automatic.

See Permissions for what each permission set, custom permission, and permission set group grants in detail.

Previous
Installation