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
anusfdc123anusfdc123 

Mimic Run Rules button on Account Territory Assignment from Apex

Hi,

I read from the documentation that 

"The database.DMLOptions object supports assignment rules for cases and leads, but not for accounts or territory management."

Is there a way we can trigger the account assignment rules, when we update an existing account via apex?

Thanks

JP