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
MimicaMimica 

Account x Events and owner change

Hi,

 

I'm a new SFDC developer and I would like to ask some help about  Accounts and Events.

 

When I change the ownership of an Account, all Events that were associated to the old owner are transfered to the new owner. Is there a way to prevent this?

 

This behavior happens too for Tasks, but in this case it's ok, because our business rules required that, but not for Events.

 

Thanks

Mimica

AmitSahuAmitSahu
You may require triggers for this. I don't think there is any system flag to prevent this.
Or may be you can use workflow for that purpose.