Multiple Rollup Control Records #522
Unanswered
louisskelton
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The two Rollup controls (one sync, one async) should work - let me pull on that thread and see if there's any issue. I haven't tested that with each rollup going to a different parent, but at the moment I don't remember the behavior that determines how to roll children up having logic that operates on a per-parent basis. Let me check on that and get back to you! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I was wondering if there were any particular considerations around using multiple Rollup Control records. I'd like some processes to be processed synchronously and others in an async queueable context. Initially it made sense for me to create 2x Rollup Control records for this purpose. In my testing this sometimes breaks things... for example if a child object has 2x rollups - one synchronous and one queueable (different parent objects) the queueable rollup won't fire.
I'm guessing from this that we should ensure that our Rollups aren't distributed across Rollup Controls such that child objects are used by more than one Rollup Control - is that right? And if so, what other rules / guidance should we follow when structuring the Rollup Control records and their associated Rollups?
Thanks so much :)
Beta Was this translation helpful? Give feedback.
All reactions