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
Sowjanya Hegde 13Sowjanya Hegde 13 

Opportunity Team member is getting deleted

I have added Opportunity team member on Opportunity. Now when I change the Opportunity owner , Opportunity team member related to that Opportunity will be deleted/vanished. What is the issue? Please help!
PriyaPriya (Salesforce Developers) 

Hi Sowjanya,

I tried replicating this in my org. I added a team member and then changed the owner, I still see the same opportunity team member in the related list Opportunity Team. 

Please check if there is any trigger or process builder causing this issue.

Regards,

Priya Ranjan