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

pipeline-account-triggers
2

New Executable - Account.SelfAdaptive.Rollups

new-executable-account-selfadaptive-rollups
3

Trigger Settings

trigger-settings
4

Mapping

mapping