-
-
Notifications
You must be signed in to change notification settings - Fork 30
Home
James Simone edited this page May 18, 2023
·
12 revisions
When using apex-rollup
, there's a lot of information in the Readme to go through. To that end, I'm starting to flesh out in more detail (and with more images) the three primary ways to interact with Rollup
in an org on YouTube:
- Setup & Full Recalc Walkthrough
- Record Triggered Flow Setup
- Apex Setup with one line of code!
- Rollup Control custom metadata configuration
- Unit testing Apex Rollup
Take a look at using Apex Rollup:
- through Invocable Actions
- by using the
Perform rollup on records
"base" action - by using the
Perform Rollup__mdt-based rollup
action - by using the
Process Deferred Rollups
action (the "base" action is only deferred when you opt into deferral as an optional argument on the Invocable Action; theRollup__mdt
-based action is deferred by default)
- by using the
- through Apex
- through Flexipages
- through the
Recalculate Rollup
tab and application - through a parent-level record by adding the
Recalc Rollups Button
custom component to a record flexipage
- through the
By far the most common issue I hear people having when setting apex-rollup
up is forgetting to enable the Rollup Settings
Org Wide Default. Don't forget this step!
Developers, make sure to check out the Rollup Architecture section to see how apex-rollup
works under the hood.