You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
Perhaps it is possible to make the DML Options part of the rollup setup screen so users can decide if they want the exception or an update to happen.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The rollup field is not updated and Apex exception emails go out
Describe the solution you'd like
DML Options can be used on the update to allow the update to succeed.
[DMLOptions.DuplicateRuleHeader Class](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Database_DMLOptions_DuplicateRuleHeader.htm#apex_class_Database_DMLOptions_DuplicateRuleHeader
or the SObject.setOptions(DMLOptions) method.
It would be good for the update to happen and the rollups on duplicate records to be correct. I can't think of any reason not to use this DML Option, unless it affects sObjects not under duplicate management.
Describe alternatives you've considered
none
Additional context
Perhaps it is possible to make the DML Options part of the rollup setup screen so users can decide if they want the exception or an update to happen.
The text was updated successfully, but these errors were encountered: