function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sameera GaidhaneSameera Gaidhane 

Need to update 10,000 records for object A when a custom field for object B is changed

In this requirement object A and object B are not related.
Since we need to fire the update on object A based on field change on object B and record count is around 10,000, trigger will not be good option. Therefore need a way out to capture the field change and update the records then only

Thanks
Waqar Hussain SFWaqar Hussain SF
Use future method or batch apex class within from your trigger to avoid SOQL limits.
Overholt JonesOverholt Jones
OWD's set to private are going to rely on hierarchy to function, so A is incorrect. The supervisor is not directly linked by the way the OWD details specify, so he is not listed above his subordinate. https://mcdvoice.me