#Triggers are configured to manage territory-based sharing on Account. When the Territory Manager field is set or changes, DSP creates an AccountShare for the current manager and removes the previous AccountShare, keeping access aligned with the latest Territory Manager.
Overview
General Use Case
Use #Trigger to automatically create, update, or delete child records in response to key parent field changes, keeping related data consistent.
Video Demo
Prerequisites
Required Custom Field
Account.TerritoryManager__cLookup(User)Downloadable Executables
Walkthrough
1
Pipeline - Account.Triggers

2
New Executable - AccountShare.Insert

3
Trigger Settings

4
Scoping

5
Mapping

6
New Executable - AccountShare.Delete

7
Trigger Settings

8
Scoping

9
Mapping
