Overview

A Self-Adaptive #Trigger is configured on Account (before update) to perform in-memory rollup calculations on save using AGG functions. When Accounts are blank-updated, or related child records are inserted, updated, deleted, or undeleted, the rollups recompute and stay current automatically.

General Use Case

Use a Self-Adaptive #Trigger (before insert, before update) to perform in-memory field calculations with DSP’s bulk-safe transformations—including roll-up summaries and other logic such as conditional assignment rules, derived fields, normalization, and defaulting—so values are computed automatically on record save.

Video Demo

Prerequisites

Account.NumberOfCases__cNumber(18, 0)
Account.NumberOfCasesOpen__cNumber(18, 0)
Account.NumberOfContacts__cNumber(18, 0)
Account.NumberOfOpportunitiesOpen__cNumber(18, 0)
Account.NumberOfOpportunitiesWonThisYear__cNumber(18, 0)
Account.TotalOpportunityAmountOpen__cCurrency(16, 2)
Account.TotalOpportunityAmountWonThisYear__cCurrency(16, 2)
Account.MaxOpportunitiesAmountOpen__cCurrency(16, 2)

Downloadable Executables

DownloadAccount.SelfAdaptive.Rollups

Walkthrough

1

Pipeline - Account Triggers

Screenshot 2026-04-22 at 5.45.26 PM
2

New Executable - Account.SelfAdaptive.Rollups

Screenshot 2026-04-22 at 5.46.01 PM
3

Trigger Settings

Screenshot 2026-04-22 at 5.46.16 PM
4

Mapping

Screenshot 2026-04-22 at 5.46.57 PM