Hot answers tagged

2

As per the error message, this is coming from an active duplicate rule, which may have been created by another admin user. The part "Use one of these records?" in the error message suggests that "Alert" option is selected on the duplicate rule. Try to look for the duplicate rule under Setup, Duplicate Rules or Matching Rules and review ...


1

That's how Salesforce operates, for better or for worse. All you can do is write a Queueable/future method to manually call those triggers after the transaction completes. Something like: Account[] needsPostProcessing = new Account[0]; for(Integer i = 0, s = Trigger.new.size(); i < s; i++ { if(Trigger.new[i].OwnerId != Trigger.old[i].OwnerId) { ...


1

For anyone visiting this thread it could be good to know that it's possible to control whether the account team should be deleted when the account owner is updated or whether it should be kept. You can also specify this for other settings, e.g the Sales Team. Simply add OwnerChangeOptions to the request header. For example in SOAPUI, you add this tag to the ...


Only top voted, non community-wiki answers of a minimum length are eligible