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
BradDBradD 

"Keep Sales Team" functionality doesn't work when using a Trigger

Hi, my understanding is that if you use Apex triggers on an opportunity perhaps, clicking "Keep Sales Team" is rendered useless because the code overwrites what's happening in the UI. Has anyone ran into this, and if so, does anyone have any insight on what kind of code is needed to make this happen, as well as what other "gotchas" could occur by using a before/after update trigger in this fashion?

Thanks all!

Ron HessRon Hess
adding a trigger should not cause the UI feature 'keep sales teams' to fail.

what is the trigger doing?
if you can easily reproduce this, please do file a bug report.

thanks