I need to exclude:
- Closed Won/Lost
- Unqualified
- Duplicate
- Pending Acceptance
opportunities from updating when Account owner changes using standard change owner wizard and retain the old owner of the opportunity record. In trigger I tried to capture before change owners and tried to update after changes with the old owners but the splits are not added with new owner and when my logic runs it throws an error atleast one revenu split must be with owner. How to overcome this as flows and triggers are cascaded by the standard functionality.Thanks!
#Salesforce Developer #Apex #Triggers #Flows #TrailblazerCommunity #Salesforce
@Abhishek R I tried that way it is bypassing flow and triggers.I am trying to use CDC to capture the changed owner not sure will that work.Thanks for the reply.
